]> 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)
commit2ebdacf40c49781981245752725bd9cfa9f568a5
treecb3b1f54071764034304c4c35440ca12235e4b20
parent09091f479aa2116430968f77a43f700fefb3c8ea
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