aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@primarydata.com>2014-09-19 10:55:07 -0400
committerTom Haynes <loghyr@primarydata.com>2015-02-03 14:06:45 -0500
commita7d42ddb3099727f58366fa006f850a219cce6c8 (patch)
treec794857eb5c3ca29f77e259ecd3c155f841134d1 /fs/nfs/internal.h
parentb57ff1303a2d4d1484c7a82bd80a3e014d6cdf5e (diff)
nfs: add mirroring support to pgio layer
This patch adds mirrored write support to the pgio layer. The default is to use one mirror, but pgio callers may define callbacks to change this to any value up to the (arbitrarily selected) limit of 16. The basic idea is to break out members of nfs_pageio_descriptor that cannot be shared between mirrored DSes and put them in a new structure. Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 05f9a87cdab4..ef1c703e487b 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -469,6 +469,7 @@ void nfs_init_cinfo(struct nfs_commit_info *cinfo,
469 struct nfs_direct_req *dreq); 469 struct nfs_direct_req *dreq);
470int nfs_key_timeout_notify(struct file *filp, struct inode *inode); 470int nfs_key_timeout_notify(struct file *filp, struct inode *inode);
471bool nfs_ctx_key_to_expire(struct nfs_open_context *ctx); 471bool nfs_ctx_key_to_expire(struct nfs_open_context *ctx);
472void nfs_pageio_stop_mirroring(struct nfs_pageio_descriptor *pgio);
472 473
473#ifdef CONFIG_MIGRATION 474#ifdef CONFIG_MIGRATION
474extern int nfs_migrate_page(struct address_space *, 475extern int nfs_migrate_page(struct address_space *,