]> git.karo-electronics.de Git - mv-sheeva.git/commit
NFS: Reduce the number of unnecessary COMMIT calls
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 20 Feb 2010 01:00:02 +0000 (17:00 -0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 5 Mar 2010 20:44:54 +0000 (15:44 -0500)
commit420e3646bb7d93a571734034249fbb1ae1a7a5c7
treedc3328f6df5769e275253c23d862cb0a16ab50f1
parentff778d02bf867e1733a09b34ad6dbb723b024814
NFS: Reduce the number of unnecessary COMMIT calls

If the caller is doing a non-blocking flush, and there are still writebacks
pending on the wire, we can usually defer the COMMIT call until those
writes are done.

Also ensure that we honour the wbc->nonblocking flag.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c