]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Allow multiple commit requests in flight per file
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Sep 2015 00:34:05 +0000 (20:34 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 31 Dec 2015 18:53:48 +0000 (13:53 -0500)
commit6ee151c804d601fdca5c37b302face75068838bf
treeb7a37c7c1767aa6b7fa3f9434dc56f9069031cd2
parentc7529cb3df1ab8f0c19280baa4c906e36353f704
NFS: Allow multiple commit requests in flight per file

Allow synchronous RPC calls to wait for pending RPC calls to finish,
but also allow asynchronous ones to just fire off another commit.

With this patch, the xfstests generic/074 test completes in 226s
instead of 242s

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/direct.c
fs/nfs/file.c
fs/nfs/nfstrace.h
fs/nfs/pnfs_nfs.c
fs/nfs/write.c
include/linux/nfs_fs.h
include/linux/nfs_xdr.h