diff options
author | Andy Adamson <andros@netapp.com> | 2013-07-22 18:41:23 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-08-07 13:10:40 -0400 |
commit | bc4b2a86a55a767fabbc70b4b8634d519c59edef (patch) | |
tree | 8c270faf2fb9d57926119201bd1e82cd31a578b5 | |
parent | f8407299f61681e9733f06c7214e81002cb459b3 (diff) | |
download | talos-op-linux-bc4b2a86a55a767fabbc70b4b8634d519c59edef.tar.gz talos-op-linux-bc4b2a86a55a767fabbc70b4b8634d519c59edef.zip |
NFSv4.1 Increase NFS4_DEF_SLOT_TABLE_SIZE
Increase NFS4_DEF_SLOT_TABLE_SIZE which is used as the client ca_maxreequests
value in CREATE_SESSION. Current non-dynamic session slot server
implementations use the client ca_maxrequests as a maximum slot number: 64
session slots can handle most workloads.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r-- | fs/nfs/nfs4session.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4session.h b/fs/nfs/nfs4session.h index 3a153d82b90c..86a066926f24 100644 --- a/fs/nfs/nfs4session.h +++ b/fs/nfs/nfs4session.h @@ -8,7 +8,7 @@ #define __LINUX_FS_NFS_NFS4SESSION_H /* maximum number of slots to use */ -#define NFS4_DEF_SLOT_TABLE_SIZE (16U) +#define NFS4_DEF_SLOT_TABLE_SIZE (64U) #define NFS4_MAX_SLOT_TABLE (1024U) #define NFS4_NO_SLOT ((u32)-1) |