diff options
author | 2010-02-19 17:00:02 -0800 | |
---|---|---|
committer | 2010-03-05 15:44:54 -0500 | |
commit | 420e3646bb7d93a571734034249fbb1ae1a7a5c7 (patch) | |
tree | dc3328f6df5769e275253c23d862cb0a16ab50f1 /kernel/mutex.c | |
parent | NFS: Add a count of the number of unstable writes carried by an inode (diff) | |
download | wireguard-linux-420e3646bb7d93a571734034249fbb1ae1a7a5c7.tar.xz wireguard-linux-420e3646bb7d93a571734034249fbb1ae1a7a5c7.zip |
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>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions