diff options
author | Peng Tao <tao.peng@primarydata.com> | 2014-08-27 10:47:14 +0800 |
---|---|---|
committer | Tom Haynes <loghyr@primarydata.com> | 2015-02-03 11:06:40 -0800 |
commit | aabff4ddcac0d36dd26546f5b905c27682e7bf89 (patch) | |
tree | b110bd135df2b9cab2bb7caf4f89566a60167a7b /include/linux/nfs_xdr.h | |
parent | 9bf87482ddc6f8db884177a2a16b1a1dc12f8777 (diff) | |
download | op-kernel-dev-aabff4ddcac0d36dd26546f5b905c27682e7bf89.zip op-kernel-dev-aabff4ddcac0d36dd26546f5b905c27682e7bf89.tar.gz |
nfs: save server READ/WRITE/COMMIT status
Flexfiles layout would want to use them to report DS IO status.
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 467c84e..962f461 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -513,6 +513,7 @@ struct nfs_pgio_res { struct nfs4_sequence_res seq_res; struct nfs_fattr * fattr; __u32 count; + __u32 op_status; int eof; /* used by read */ struct nfs_writeverf * verf; /* used by write */ const struct nfs_server *server; /* used by write */ @@ -532,6 +533,7 @@ struct nfs_commitargs { struct nfs_commitres { struct nfs4_sequence_res seq_res; + __u32 op_status; struct nfs_fattr *fattr; struct nfs_writeverf *verf; const struct nfs_server *server; |