]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
NFSv4.1: Bump the default callback session slot count to 16
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 2 Mar 2019 15:22:56 +0000 (10:22 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 2 Mar 2019 21:25:26 +0000 (16:25 -0500)
Users can still control this value explicitly using the
max_session_cb_slots module parameter, but let's bump the default
up to 16 for now.

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

index 230509b771216590614d5f16acf34873a42e8c17..b996ee23f1baec77699e7e779a91d6c67299fb61 100644 (file)
@@ -10,7 +10,7 @@
 
 /* maximum number of slots to use */
 #define NFS4_DEF_SLOT_TABLE_SIZE (64U)
-#define NFS4_DEF_CB_SLOT_TABLE_SIZE (1U)
+#define NFS4_DEF_CB_SLOT_TABLE_SIZE (16U)
 #define NFS4_MAX_SLOT_TABLE (1024U)
 #define NFS4_NO_SLOT ((u32)-1)