[Cluster-devel] [PATCH 2/4 Revised] NLM failover - nlm_set_igrace
Wendy Cheng
wcheng at redhat.com
Thu Sep 14 04:48:26 UTC 2006
This change enables per NFS-export entry lockd grace period. The
implementation is based on a double linked list fo_fsid_list that
contains entries of fsid info. It is expected this would not be a
frequent event. The fo_fsid_list is short and the entries expire within
a maximum of 50 seconds. The grace period setting follows the existing
NLM grace period handling logic and is triggered via echoing the NFS
export filesystem id into nfsd procfs entry as:
shell> echo 1234 > /proc/fs/nfsd/nlm_set_igrace
Signed-off-by: S. Wendy Cheng <wcheng at redhat.com>
Signed-off-by: Lon Hohberger <lhh at redhat.com>
fs/lockd/svc.c | 8 +
fs/lockd/svc4proc.c | 28 +++++-
fs/lockd/svcproc.c | 29 +++++--
fs/lockd/svcsubs.c | 180
++++++++++++++++++++++++++++++++++++++++++++
fs/nfsd/nfsctl.c | 32 +++++++
include/linux/lockd/bind.h | 3
include/linux/lockd/lockd.h | 14 +++
7 files changed, 279 insertions(+), 15 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gfs_nlm_igrace.patch
Type: text/x-patch
Size: 15444 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20060914/3cf5f3ed/attachment.bin>
More information about the Cluster-devel
mailing list