diff options
author | Andy Adamson <andros@netapp.com> | 2012-05-23 05:02:34 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-24 16:15:47 -0400 |
commit | 88034c3d88c2c48b215f2cc5eb22e564aa817f9c (patch) | |
tree | aca4a42af31d12777a2ef7bcbf37751b28ff73c6 /include/linux/nfs4.h | |
parent | 54ac471c83aff6b1e068eb8029c797dc68a76e89 (diff) |
NFSv4.1 mdsthreshold attribute xdr
We only support one layout type per file system, so one threshold_item4 per
mdsthreshold4.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs4.h')
-rw-r--r-- | include/linux/nfs4.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h index 0987146b063..72b6bada0d7 100644 --- a/include/linux/nfs4.h +++ b/include/linux/nfs4.h | |||
@@ -526,6 +526,13 @@ enum lock_type4 { | |||
526 | #define FATTR4_WORD1_MOUNTED_ON_FILEID (1UL << 23) | 526 | #define FATTR4_WORD1_MOUNTED_ON_FILEID (1UL << 23) |
527 | #define FATTR4_WORD1_FS_LAYOUT_TYPES (1UL << 30) | 527 | #define FATTR4_WORD1_FS_LAYOUT_TYPES (1UL << 30) |
528 | #define FATTR4_WORD2_LAYOUT_BLKSIZE (1UL << 1) | 528 | #define FATTR4_WORD2_LAYOUT_BLKSIZE (1UL << 1) |
529 | #define FATTR4_WORD2_MDSTHRESHOLD (1UL << 4) | ||
530 | |||
531 | /* MDS threshold bitmap bits */ | ||
532 | #define THRESHOLD_RD (1UL << 0) | ||
533 | #define THRESHOLD_WR (1UL << 1) | ||
534 | #define THRESHOLD_RD_IO (1UL << 2) | ||
535 | #define THRESHOLD_WR_IO (1UL << 3) | ||
529 | 536 | ||
530 | #define NFSPROC4_NULL 0 | 537 | #define NFSPROC4_NULL 0 |
531 | #define NFSPROC4_COMPOUND 1 | 538 | #define NFSPROC4_COMPOUND 1 |