diff options
| author | Olga Kornievskaia <kolga@netapp.com> | 2018-07-09 15:13:29 -0400 |
|---|---|---|
| committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-08-09 12:56:38 -0400 |
| commit | cb95deea0b4aa5c7c7423f4e075a3ddcd59e710b (patch) | |
| tree | 67ad6bd3f1fe9cc92d51d93fed22ab05a087cd61 /include/linux | |
| parent | 5178a125f6d5fb0720315ea4f7cca642fb936031 (diff) | |
NFS OFFLOAD_CANCEL xdr
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nfs4.h | 1 | ||||
| -rw-r--r-- | include/linux/nfs_fs_sb.h | 1 | ||||
| -rw-r--r-- | include/linux/nfs_xdr.h | 12 |
3 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h index 57ffaa20d564..c44b87293229 100644 --- a/include/linux/nfs4.h +++ b/include/linux/nfs4.h | |||
| @@ -527,6 +527,7 @@ enum { | |||
| 527 | NFSPROC4_CLNT_LAYOUTSTATS, | 527 | NFSPROC4_CLNT_LAYOUTSTATS, |
| 528 | NFSPROC4_CLNT_CLONE, | 528 | NFSPROC4_CLNT_CLONE, |
| 529 | NFSPROC4_CLNT_COPY, | 529 | NFSPROC4_CLNT_COPY, |
| 530 | NFSPROC4_CLNT_OFFLOAD_CANCEL, | ||
| 530 | 531 | ||
| 531 | NFSPROC4_CLNT_LOOKUPP, | 532 | NFSPROC4_CLNT_LOOKUPP, |
| 532 | }; | 533 | }; |
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index 2c18d618604e..fbc735f08d7e 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h | |||
| @@ -255,5 +255,6 @@ struct nfs_server { | |||
| 255 | #define NFS_CAP_LAYOUTSTATS (1U << 22) | 255 | #define NFS_CAP_LAYOUTSTATS (1U << 22) |
| 256 | #define NFS_CAP_CLONE (1U << 23) | 256 | #define NFS_CAP_CLONE (1U << 23) |
| 257 | #define NFS_CAP_COPY (1U << 24) | 257 | #define NFS_CAP_COPY (1U << 24) |
| 258 | #define NFS_CAP_OFFLOAD_CANCEL (1U << 25) | ||
| 258 | 259 | ||
| 259 | #endif | 260 | #endif |
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 3b7325cfb291..85e928a56cef 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
| @@ -1403,6 +1403,18 @@ struct nfs42_copy_res { | |||
| 1403 | struct nfs_commitres commit_res; | 1403 | struct nfs_commitres commit_res; |
| 1404 | }; | 1404 | }; |
| 1405 | 1405 | ||
| 1406 | struct nfs42_offload_status_args { | ||
| 1407 | struct nfs4_sequence_args osa_seq_args; | ||
| 1408 | struct nfs_fh *osa_src_fh; | ||
| 1409 | nfs4_stateid osa_stateid; | ||
| 1410 | }; | ||
| 1411 | |||
| 1412 | struct nfs42_offload_status_res { | ||
| 1413 | struct nfs4_sequence_res osr_seq_res; | ||
| 1414 | uint64_t osr_count; | ||
| 1415 | int osr_status; | ||
| 1416 | }; | ||
| 1417 | |||
| 1406 | struct nfs42_seek_args { | 1418 | struct nfs42_seek_args { |
| 1407 | struct nfs4_sequence_args seq_args; | 1419 | struct nfs4_sequence_args seq_args; |
| 1408 | 1420 | ||
