diff options
author | Weston Andros Adamson <dros@primarydata.com> | 2014-09-19 10:55:07 -0400 |
---|---|---|
committer | Tom Haynes <loghyr@primarydata.com> | 2015-02-03 14:06:45 -0500 |
commit | a7d42ddb3099727f58366fa006f850a219cce6c8 (patch) | |
tree | c794857eb5c3ca29f77e259ecd3c155f841134d1 /fs/nfs/internal.h | |
parent | b57ff1303a2d4d1484c7a82bd80a3e014d6cdf5e (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.h | 1 |
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); |
470 | int nfs_key_timeout_notify(struct file *filp, struct inode *inode); | 470 | int nfs_key_timeout_notify(struct file *filp, struct inode *inode); |
471 | bool nfs_ctx_key_to_expire(struct nfs_open_context *ctx); | 471 | bool nfs_ctx_key_to_expire(struct nfs_open_context *ctx); |
472 | void nfs_pageio_stop_mirroring(struct nfs_pageio_descriptor *pgio); | ||
472 | 473 | ||
473 | #ifdef CONFIG_MIGRATION | 474 | #ifdef CONFIG_MIGRATION |
474 | extern int nfs_migrate_page(struct address_space *, | 475 | extern int nfs_migrate_page(struct address_space *, |