summaryrefslogtreecommitdiff
path: root/include/linux/nfs_page.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2011-03-22 00:02:00 +0300
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-03-22 04:08:17 +0300
commitb31268ac793fd300da66b9c28bbf0a200339ab96 (patch)
tree910978e11c5e6d94fb5be82f38cbc6d3ef65c020 /include/linux/nfs_page.h
parent8e26de238fd794c8ea56a5c98bf67c40cfeb051d (diff)
downloadlinux-b31268ac793fd300da66b9c28bbf0a200339ab96.tar.xz
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>
Diffstat (limited to 'include/linux/nfs_page.h')
-rw-r--r--include/linux/nfs_page.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h
index 90907ada6d52..92d54c81f51e 100644
--- a/include/linux/nfs_page.h
+++ b/include/linux/nfs_page.h
@@ -57,6 +57,7 @@ struct nfs_pageio_descriptor {
size_t pg_count;
size_t pg_bsize;
unsigned int pg_base;
+ char pg_moreio;
struct inode *pg_inode;
int (*pg_doio)(struct nfs_pageio_descriptor *);