]> git.baikalelectronics.ru Git - kernel.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)
commit1849cd8a620d04ed4bcfaac5f6bef311d57dda32
treedc3328f6df5769e275253c23d862cb0a16ab50f1
parent70447083b767a11a94fcbb6dabb1684d9bea1ef2
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