]> git.baikalelectronics.ru Git - kernel.git/commit
FS: Use stable writes when not doing a bulk flush
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 21 Mar 2011 21:02:00 +0000 (17:02 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 22 Mar 2011 01:08:17 +0000 (21:08 -0400)
commit9616b087bf8cd7d5568b86eec19ab3210a1bb402
tree910978e11c5e6d94fb5be82f38cbc6d3ef65c020
parentfa93355abe70ca8725d19bfe88af544eea5682e0
FS: Use stable writes when not doing a bulk flush

If we're only doing a single write, and there are no other unstable
writes being queued up, we might want to just flip to using a stable
write RPC call.

Reviewed-by: NeilBrown <neilb@suse.de>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pagelist.c
fs/nfs/write.c
include/linux/nfs_fs.h
include/linux/nfs_page.h