[Cluster-devel] [RFC PATCH 1/3] NLM lock failover - lock release

Wendy Cheng wcheng at redhat.com
Thu Jun 29 18:11:51 UTC 2006


The patch piggy-backs the logic into "rq_daddr" field of struct svc_rqst 
where NFS server ip address is stored. Upon writing IPv4 address in 
standard dot notation into /proc/fs/nfsd/nlm_unlock, the logic will 
examine NLM's global nlm_files list and subsequently unlock the 
associated file if server ip address matches.

Due to the size of rq_daddr (u32), we would not be able to support IPV6 
for this round of changes. Another to-do item is to enable client:server 
ip pairs to allow NFS V4 failover.




-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gfs_nlm_unlock.patch
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20060629/0e2f4e2b/attachment.ksh>


More information about the Cluster-devel mailing list