]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0815834f42b07b5cdb52cd092ef11d1533e49f4c
treecb3b1f54071764034304c4c35440ca12235e4b20
parentd4fceb3e86ad2be76d4acacfbb4c360cfcba7756
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