diff options
author | Andy Adamson <andros@netapp.com> | 2011-03-03 10:13:45 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-11 15:38:44 -0500 |
commit | 0382b74409c6b9ef12c952b50bb44f557a361a43 (patch) | |
tree | 0eebc04006a3b70fb6605c42ee89cdc0ccd8b1cf /include/linux | |
parent | 44b83799a922a153957c65ccfc985a8c902958c8 (diff) |
NFSv4.1: implement generic pnfs layer write switch
Signed-off-by: Andy Adamson <andros@citi.umich.edu>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Dean Hildebrand <dhildeb@us.ibm.com>
Signed-off-by: Fred Isaman <iisaman@citi.umich.edu>
Signed-off-by: J. Bruce Fields <bfields@fieldses.org>
Signed-off-by: Mike Sager <sager@netapp.com>
Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
Signed-off-by: Tao Guo <guotao@nrchpc.ac.cn>
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs_iostat.h | 1 | ||||
-rw-r--r-- | include/linux/nfs_xdr.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_iostat.h b/include/linux/nfs_iostat.h index 37a143732d02..8866bb3502ee 100644 --- a/include/linux/nfs_iostat.h +++ b/include/linux/nfs_iostat.h | |||
@@ -114,6 +114,7 @@ enum nfs_stat_eventcounters { | |||
114 | NFSIOS_SHORTWRITE, | 114 | NFSIOS_SHORTWRITE, |
115 | NFSIOS_DELAY, | 115 | NFSIOS_DELAY, |
116 | NFSIOS_PNFS_READ, | 116 | NFSIOS_PNFS_READ, |
117 | NFSIOS_PNFS_WRITE, | ||
117 | __NFSIOS_COUNTSMAX, | 118 | __NFSIOS_COUNTSMAX, |
118 | }; | 119 | }; |
119 | 120 | ||
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 09d96812d6d0..c82ad33cffe1 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -1039,6 +1039,7 @@ struct nfs_write_data { | |||
1039 | struct nfs_writeargs args; /* argument struct */ | 1039 | struct nfs_writeargs args; /* argument struct */ |
1040 | struct nfs_writeres res; /* result struct */ | 1040 | struct nfs_writeres res; /* result struct */ |
1041 | struct pnfs_layout_segment *lseg; | 1041 | struct pnfs_layout_segment *lseg; |
1042 | const struct rpc_call_ops *mds_ops; | ||
1042 | int (*write_done_cb) (struct rpc_task *task, struct nfs_write_data *data); | 1043 | int (*write_done_cb) (struct rpc_task *task, struct nfs_write_data *data); |
1043 | #ifdef CONFIG_NFS_V4 | 1044 | #ifdef CONFIG_NFS_V4 |
1044 | unsigned long timestamp; /* For lease renewal */ | 1045 | unsigned long timestamp; /* For lease renewal */ |