NFSv4.1: Set the maximum slot table size to 1024 slots
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 22 Nov 2012 03:34:45 +0000 (22:34 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 5 Dec 2012 23:30:47 +0000 (00:30 +0100)
This means that we end up statically allocating 128 bytes for the
bitmap on each slot table.
For a server that supports 1MB write and read I/O sizes this means
that we can completely fill the maximum 1GB TCP send/receive
windows.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4session.h

index e96323ff1d956fa2bee65d481fbf85122124e1e7..bdd14a60722bb43d12fb139fa3a31210b594c7d4 100644 (file)
@@ -9,7 +9,7 @@
 
 /* maximum number of slots to use */
 #define NFS4_DEF_SLOT_TABLE_SIZE (16U)
-#define NFS4_MAX_SLOT_TABLE (256U)
+#define NFS4_MAX_SLOT_TABLE (1024U)
 #define NFS4_NO_SLOT ((u32)-1)
 
 #if IS_ENABLED(CONFIG_NFS_V4)