[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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

On 6/29/06, Wendy Cheng <wcheng redhat com> 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:


for the individual patch, and surrounding patches for more context.

"We who cut mere stones must always be envisioning cathedrals"
  -- Quarry worker's creed

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]