]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Modify the new NFSv4 client so that it appends a file handle
authorRick Macklem <rmacklem@FreeBSD.org>
Sun, 3 Jul 2011 21:44:26 +0000 (21:44 +0000)
committerRick Macklem <rmacklem@FreeBSD.org>
Sun, 3 Jul 2011 21:44:26 +0000 (21:44 +0000)
commit1171f21dab7fcb4147fafed0a37368cb132c943d
tree54d83b36ad1e09f2c55909baffb39367dce2e724
parent0732dbfff5c96508e87e98bceb1ce48f38f76b80
Modify the new NFSv4 client so that it appends a file handle
to the lock_owner4 string that goes on the wire. Also, add
code to do a ReleaseLockOwner Op on the lock_owner4 string
before a Close. Apparently not all NFSv4 servers handle multiple
instances of the same lock_owner4 string, at least not in a
compatible way. This patch avoids having multiple instances,
except for one unusual case, which will be fixed by a future commit.
Found at the recent NFSv4 interoperability Bakeathon.

Tested by: tdh at excfb.com
MFC after: 2 weeks
sys/fs/nfs/nfs_var.h
sys/fs/nfsclient/nfs_clrpcops.c
sys/fs/nfsclient/nfs_clstate.c