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)
commitaf7cf057933f01dc7f33ddfb5e436ad598ed17ad
treeb7a37c7c1767aa6b7fa3f9434dc56f9069031cd2
parentdc602dd706cb64036132a7903ead1c67d9a7bcb9
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