]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb31268ac793fd300da66b9c28bbf0a200339ab96
tree910978e11c5e6d94fb5be82f38cbc6d3ef65c020
parent8e26de238fd794c8ea56a5c98bf67c40cfeb051d
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