NLM failover - user mode statd changes
Subsystems (2)
PATCH 4/5 NLM failover - user mode statd changes
This is nfs-utils user mode patch based on nfs-utils-1.0.8-rc4. It re-enables my_name to the correct ip interface passed by kernel (via patch 5-3) that accepts the relevant lock request.
Signed-off-by S. Wendy Cheng <[email protected]>
Signed-off-by Lon Hohberger <[email protected]>
nfs-utils-1.0.8-rc4/utils/statd/monitor.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
nfs-utils-1.0.8-rc4/utils/statd/monitor.c +4 -3
@@ -68,7 +68,7 @@ sm_mon_1_svc(struct mon *argp, struct sv goto failure; } my_addr.s_addr =htonl (INADDR_LOOPBACK ); - my_name ="127.0.0.1" ; +note (N_DEBUG ,"sm_mon_1_svc my_name=%s\n" , my_name);/* 2. Reject any registrations for non-lockd services. *
@@ -181,6 +181,7 @@ sm_mon_1_svc(struct mon *argp, struct sv goto failure; }free (path); +/* PRC: do the HA callout: */ ha_callout ("add-client" , mon_name, my_name,-1 );nlist_insert (&rtnl, clnt);
@@ -231,7 +232,7 @@ sm_unmon_1_svc(struct mon_id *argp, stru inet_ntoa(caller)); goto failure; } - my_name ="127.0.0.1" ; +note (N_DEBUG ,"sm_unmon_1_svc my_name=%s\n" , my_name);#endif /* Check if we're monitoring anyone. */
@@ -296,7 +297,7 @@ sm_unmon_all_1_svc(struct my_id *argp, s inet_ntoa(caller)); goto failure; } - my_name ="127.0.0.1" ; +note (N_DEBUG ,"sm_unmon_all_1_svc my_name=%s\n" , my_name);#endif result.state =MY_STATE ;
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs