From d70bbcfdd86ed07f1171a3161ad766dfa455176e Mon Sep 17 00:00:00 2001 From: Don Brady Date: Thu, 1 Sep 2022 08:56:30 -0600 Subject: [PATCH] DLPX-82827 Fix for Solaris NFSv4 client mounts --- fs/nfsd/state.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index a080789b4d134..59973f09f9ba2 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -161,7 +161,8 @@ static inline struct nfs4_delegation *delegstateid(struct nfs4_stid *s) /* Maximum number of slots per session. 160 is useful for long haul TCP */ #define NFSD_MAX_SLOTS_PER_SESSION 160 /* Maximum number of operations per session compound */ -#define NFSD_MAX_OPS_PER_COMPOUND 16 +/* Delphix: increase operations to accomodate Solaris client NFSv4 mounts */ +#define NFSD_MAX_OPS_PER_COMPOUND 40 /* Maximum session per slot cache size */ #define NFSD_SLOT_CACHE_SIZE 2048 /* Maximum number of NFSD_SLOT_CACHE_SIZE slots per session */