diff options
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 7e371f7df9c4..00848d86ffb2 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -158,7 +158,6 @@ struct nfs_seqid; | |||
158 | 158 | ||
159 | /* nfs41 sessions channel attributes */ | 159 | /* nfs41 sessions channel attributes */ |
160 | struct nfs4_channel_attrs { | 160 | struct nfs4_channel_attrs { |
161 | u32 headerpadsz; | ||
162 | u32 max_rqst_sz; | 161 | u32 max_rqst_sz; |
163 | u32 max_resp_sz; | 162 | u32 max_resp_sz; |
164 | u32 max_resp_sz_cached; | 163 | u32 max_resp_sz_cached; |
@@ -269,6 +268,27 @@ struct nfs4_layoutcommit_data { | |||
269 | struct nfs4_layoutcommit_res res; | 268 | struct nfs4_layoutcommit_res res; |
270 | }; | 269 | }; |
271 | 270 | ||
271 | struct nfs4_layoutreturn_args { | ||
272 | __u32 layout_type; | ||
273 | struct inode *inode; | ||
274 | nfs4_stateid stateid; | ||
275 | struct nfs4_sequence_args seq_args; | ||
276 | }; | ||
277 | |||
278 | struct nfs4_layoutreturn_res { | ||
279 | struct nfs4_sequence_res seq_res; | ||
280 | u32 lrs_present; | ||
281 | nfs4_stateid stateid; | ||
282 | }; | ||
283 | |||
284 | struct nfs4_layoutreturn { | ||
285 | struct nfs4_layoutreturn_args args; | ||
286 | struct nfs4_layoutreturn_res res; | ||
287 | struct rpc_cred *cred; | ||
288 | struct nfs_client *clp; | ||
289 | int rpc_status; | ||
290 | }; | ||
291 | |||
272 | /* | 292 | /* |
273 | * Arguments to the open call. | 293 | * Arguments to the open call. |
274 | */ | 294 | */ |
@@ -1087,6 +1107,7 @@ struct nfs_read_data { | |||
1087 | const struct rpc_call_ops *mds_ops; | 1107 | const struct rpc_call_ops *mds_ops; |
1088 | int (*read_done_cb) (struct rpc_task *task, struct nfs_read_data *data); | 1108 | int (*read_done_cb) (struct rpc_task *task, struct nfs_read_data *data); |
1089 | __u64 mds_offset; | 1109 | __u64 mds_offset; |
1110 | int pnfs_error; | ||
1090 | struct page *page_array[NFS_PAGEVEC_SIZE]; | 1111 | struct page *page_array[NFS_PAGEVEC_SIZE]; |
1091 | }; | 1112 | }; |
1092 | 1113 | ||
@@ -1112,6 +1133,7 @@ struct nfs_write_data { | |||
1112 | unsigned long timestamp; /* For lease renewal */ | 1133 | unsigned long timestamp; /* For lease renewal */ |
1113 | #endif | 1134 | #endif |
1114 | __u64 mds_offset; /* Filelayout dense stripe */ | 1135 | __u64 mds_offset; /* Filelayout dense stripe */ |
1136 | int pnfs_error; | ||
1115 | struct page *page_array[NFS_PAGEVEC_SIZE]; | 1137 | struct page *page_array[NFS_PAGEVEC_SIZE]; |
1116 | }; | 1138 | }; |
1117 | 1139 | ||