[Cluster-devel] [PATCH 3/4 Revised] NLM failover - statd changes
Wendy Cheng
wcheng at redhat.com
Thu Sep 14 04:50:40 UTC 2006
This kernel patch should be paired with nfs-utils user mode changes (in
patch 4-4 based on nfs-utils-1.0.8-rc4) that is optional. If changes
made in patch 4-4 is not presented in nfs-utils, the rpc.statd will
ignore whatever this kernel patch does.
The changes record the ip interface that accepts the lock requests and
passes the correct "my_name" (in standard IPV4 dot notation) to user
mode statd (instead of system_utsname.nodename). This enables rpc.statd
to add the correct taken-over IPv4 address into the 3rd parameter of
ha_callout program. Current nfs-utils always resets "my_name" into
loopback address (127.0.0.1), regardless the statement made in rpc.statd
man page. Check out "man rpc.statd" for details.
Signed-off-by: S. Wendy Cheng <wcheng at redhat.com>
Signed-off-by: Lon Hohberger <lhh at redhat.com>
fs/lockd/host.c | 4 ++--
fs/lockd/mon.c | 21 +++++++++++++++++----
fs/lockd/svc4proc.c | 8 +++++++-
fs/lockd/svcproc.c | 2 +-
include/linux/lockd/lockd.h | 5 +++--
include/linux/lockd/sm_inter.h | 1 +
include/linux/sunrpc/svc.h | 5 +++--
net/sunrpc/svcsock.c | 5 +++++
8 files changed, 39 insertions(+), 12 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gfs_statd.patch
Type: text/x-patch
Size: 6714 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20060914/282cca28/attachment.bin>
More information about the Cluster-devel
mailing list