diff options
Diffstat (limited to 'include/linux/nfs4.h')
-rw-r--r-- | include/linux/nfs4.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h index 0987146b0637..af2d2fa30eee 100644 --- a/include/linux/nfs4.h +++ b/include/linux/nfs4.h | |||
@@ -69,6 +69,10 @@ | |||
69 | #define NFS4_CDFC4_FORE_OR_BOTH 0x3 | 69 | #define NFS4_CDFC4_FORE_OR_BOTH 0x3 |
70 | #define NFS4_CDFC4_BACK_OR_BOTH 0x7 | 70 | #define NFS4_CDFC4_BACK_OR_BOTH 0x7 |
71 | 71 | ||
72 | #define NFS4_CDFS4_FORE 0x1 | ||
73 | #define NFS4_CDFS4_BACK 0x2 | ||
74 | #define NFS4_CDFS4_BOTH 0x3 | ||
75 | |||
72 | #define NFS4_SET_TO_SERVER_TIME 0 | 76 | #define NFS4_SET_TO_SERVER_TIME 0 |
73 | #define NFS4_SET_TO_CLIENT_TIME 1 | 77 | #define NFS4_SET_TO_CLIENT_TIME 1 |
74 | 78 | ||
@@ -526,6 +530,13 @@ enum lock_type4 { | |||
526 | #define FATTR4_WORD1_MOUNTED_ON_FILEID (1UL << 23) | 530 | #define FATTR4_WORD1_MOUNTED_ON_FILEID (1UL << 23) |
527 | #define FATTR4_WORD1_FS_LAYOUT_TYPES (1UL << 30) | 531 | #define FATTR4_WORD1_FS_LAYOUT_TYPES (1UL << 30) |
528 | #define FATTR4_WORD2_LAYOUT_BLKSIZE (1UL << 1) | 532 | #define FATTR4_WORD2_LAYOUT_BLKSIZE (1UL << 1) |
533 | #define FATTR4_WORD2_MDSTHRESHOLD (1UL << 4) | ||
534 | |||
535 | /* MDS threshold bitmap bits */ | ||
536 | #define THRESHOLD_RD (1UL << 0) | ||
537 | #define THRESHOLD_WR (1UL << 1) | ||
538 | #define THRESHOLD_RD_IO (1UL << 2) | ||
539 | #define THRESHOLD_WR_IO (1UL << 3) | ||
529 | 540 | ||
530 | #define NFSPROC4_NULL 0 | 541 | #define NFSPROC4_NULL 0 |
531 | #define NFSPROC4_COMPOUND 1 | 542 | #define NFSPROC4_COMPOUND 1 |
@@ -596,6 +607,8 @@ enum { | |||
596 | NFSPROC4_CLNT_TEST_STATEID, | 607 | NFSPROC4_CLNT_TEST_STATEID, |
597 | NFSPROC4_CLNT_FREE_STATEID, | 608 | NFSPROC4_CLNT_FREE_STATEID, |
598 | NFSPROC4_CLNT_GETDEVICELIST, | 609 | NFSPROC4_CLNT_GETDEVICELIST, |
610 | NFSPROC4_CLNT_BIND_CONN_TO_SESSION, | ||
611 | NFSPROC4_CLNT_DESTROY_CLIENTID, | ||
599 | }; | 612 | }; |
600 | 613 | ||
601 | /* nfs41 types */ | 614 | /* nfs41 types */ |