aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorPeng Tao <tao.peng@primarydata.com>2014-08-26 22:47:14 -0400
committerTom Haynes <loghyr@primarydata.com>2015-02-03 14:06:40 -0500
commitaabff4ddcac0d36dd26546f5b905c27682e7bf89 (patch)
treeb110bd135df2b9cab2bb7caf4f89566a60167a7b /include/linux
parent9bf87482ddc6f8db884177a2a16b1a1dc12f8777 (diff)
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')
-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 467c84efb596..962f461c065d 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -513,6 +513,7 @@ struct nfs_pgio_res {
513 struct nfs4_sequence_res seq_res; 513 struct nfs4_sequence_res seq_res;
514 struct nfs_fattr * fattr; 514 struct nfs_fattr * fattr;
515 __u32 count; 515 __u32 count;
516 __u32 op_status;
516 int eof; /* used by read */ 517 int eof; /* used by read */
517 struct nfs_writeverf * verf; /* used by write */ 518 struct nfs_writeverf * verf; /* used by write */
518 const struct nfs_server *server; /* used by write */ 519 const struct nfs_server *server; /* used by write */
@@ -532,6 +533,7 @@ struct nfs_commitargs {
532 533
533struct nfs_commitres { 534struct nfs_commitres {
534 struct nfs4_sequence_res seq_res; 535 struct nfs4_sequence_res seq_res;
536 __u32 op_status;
535 struct nfs_fattr *fattr; 537 struct nfs_fattr *fattr;
536 struct nfs_writeverf *verf; 538 struct nfs_writeverf *verf;
537 const struct nfs_server *server; 539 const struct nfs_server *server;