[PATCH 25/30] nfsd41: support 16 slots per session

andros
2009-06-08T18:21:38Z

128 slots is a bit much without proof that they are needed.

Signed-off-by: Andy Adamson <andros@netapp.com>
---
include/linux/nfsd/state.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h
index 3facf68..f2ccb64 100644
--- a/include/linux/nfsd/state.h
+++ b/include/linux/nfsd/state.h
@@ -99,8 +99,7 @@ struct nfs4_callback {
struct rpc_clnt * cb_client;
};

-/* Maximum number of slots per session. 128 is useful for long haul TCP */
-#define NFSD_MAX_SLOTS_PER_SESSION 128
+#define NFSD_MAX_SLOTS_PER_SESSION 16
#define NFSD_SLOT_CACHE_SIZE 512
/* Maximum number of operations per session compound */
#define NFSD_MAX_OPS_PER_COMPOUND 16
--
1.5.4.3