Skip to content

intro: make NFSv4 exclusive open calls set and use the bitmask in the reply

Jeff Layton linux-fsdevel linux-nfs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nfsd: set the response bitmask for an EXCLUSIVE CREATEfs/nfsd/nfs4proc.c+9 -10 replies
2/2nfs4: on a O_EXCL OPEN make sure the SETATTR sets the fields holding the verifierfs/nfs/nfs4proc.c fs/nfs/nfs4xdr.c include/linux/nfs_xdr.h+32 -24 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] intro: make NFSv4 exclusive open calls set and use the bitmask in the reply

Around a year ago, Chris Lalancette posted a patch to make it so that when an EXCLUSIVE nfs4 create is done, that the mtime and atime get properly updated in the following setattr call. At the time Trond replied that that approach was incorrect and that we need to check the bitmask in the reply to know what attributes need to be updated.

The original thread is here:

http://linux-nfs.org/pipermail/nfsv4/2006-June/004489.html

The following patchset is a first stab at making the Linux client and server adhere to the correct NFS4 exclusive open semantics.

As always, comments are appreciated...

Signature · 10 lines
Jeff Layton <[email protected]>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs