From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chuck Lever Date: Thu, 29 Jun 2006 19:11:46 -0000 Subject: [Cluster-devel] Re: [NFS] [RFC PATCH 1/3] NLM lock failover - lock release In-Reply-To: <44A417E7.5090500@redhat.com> References: <44A417E7.5090500@redhat.com> Message-ID: <76bd70e30606291211t338164adq985e43726da51e59@mail.gmail.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 6/29/06, Wendy Cheng wrote: > 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. FYI: I have a patch in my IPv6 patchset that increases the size of this field specifically in order to hold an IPv6 address. See: http://oss.oracle.com/~cel/linux-2.6/2.6.17/patches/52-svc-rq_daddr.diff for the individual patch, and surrounding patches for more context. -- "We who cut mere stones must always be envisioning cathedrals" -- Quarry worker's creed