summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorTrond Myklebust2015-12-22 18:30:24 +0100
committerTrond Myklebust2015-12-28 20:32:41 +0100
commit37e9ed22b1552fa94ee7db2901a5e7d8bdf60b15 (patch)
tree20dee7aec9c90350526b1b47c8af10ad1378bbac /include/linux/nfs_xdr.h
parentpNFS/flexfiles: Fix a statistics gathering imbalance (diff)
downloadkernel-qcow2-linux-37e9ed22b1552fa94ee7db2901a5e7d8bdf60b15.tar.gz
kernel-qcow2-linux-37e9ed22b1552fa94ee7db2901a5e7d8bdf60b15.tar.xz
kernel-qcow2-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 {