From: Andy Adamson Date: Mon, 22 Jul 2013 22:41:23 +0000 (-0400) Subject: NFSv4.1 Increase NFS4_DEF_SLOT_TABLE_SIZE X-Git-Tag: v3.12-rc1~28^2~102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc4b2a86a55a767fabbc70b4b8634d519c59edef;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/nfs4session.h b/fs/nfs/nfs4session.h index 3a153d8..86a0669 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)