summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2013-07-22 18:41:23 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-07 13:10:40 -0400
commitbc4b2a86a55a767fabbc70b4b8634d519c59edef (patch)
tree8c270faf2fb9d57926119201bd1e82cd31a578b5
parentf8407299f61681e9733f06c7214e81002cb459b3 (diff)
downloadtalos-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.h2
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)
OpenPOWER on IntegriCloud