summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-12-22 12:30:24 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-12-28 14:32:41 -0500
commit37e9ed22b1552fa94ee7db2901a5e7d8bdf60b15 (patch)
tree20dee7aec9c90350526b1b47c8af10ad1378bbac /include/linux/nfs_xdr.h
parent7eeea1679783e7c1c38074e8c562900b7e3d3dd7 (diff)
downloadlinux-37e9ed22b1552fa94ee7db2901a5e7d8bdf60b15.tar.gz
linux-37e9ed22b1552fa94ee7db2901a5e7d8bdf60b15.tar.bz2
linux-37e9ed22b1552fa94ee7db2901a5e7d8bdf60b15.zip
pNFS: Add flag to track if we've called nfs4_ff_layout_stat_io_start_read/write
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 11bbae44f4cb..7b30ac0c7def 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -1375,6 +1375,7 @@ enum {
NFS_IOHDR_ERROR = 0,
NFS_IOHDR_EOF,
NFS_IOHDR_REDO,
+ NFS_IOHDR_STAT,
};
struct nfs_pgio_header {
@@ -1454,6 +1455,7 @@ struct nfs_commit_data {
const struct rpc_call_ops *mds_ops;
const struct nfs_commit_completion_ops *completion_ops;
int (*commit_done_cb) (struct rpc_task *task, struct nfs_commit_data *data);
+ unsigned long flags;
};
struct nfs_pgio_completion_ops {