]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - fs/nfs/nfs4proc.c
NFSv4: Simplify the NFSv4 OPEN compound
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 27 Apr 2012 17:48:18 +0000 (13:48 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 1 May 2012 19:42:43 +0000 (15:42 -0400)
commit90ff0c548d1220d31f80e498b587393895705e6c
treecb3b1f54071764034304c4c35440ca12235e4b20
parentfee7fe196c41847c135cde41b0ec790f53ee6fcf
NFSv4: Simplify the NFSv4 OPEN compound

Get rid of the post-op GETATTR on the directory in order to reduce
the amount of processing done on the server.

The cost is that if we later need to stat() the directory, then we
know that the ctime and mtime are likely to be invalid.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
fs/nfs/nfs4xdr.c
include/linux/nfs_xdr.h