diff options
author | J. Bruce Fields <bfields@redhat.com> | 2014-03-12 15:17:18 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-05-23 09:03:41 -0400 |
commit | 24906f32378288d74289405231ddbb7120317691 (patch) | |
tree | 12cf755841e52a71122b884eed93ed583ee61c4b /fs | |
parent | 5b648699afa00de0cfe679a4733bef593faaa3a4 (diff) |
nfsd4: allow larger 4.1 session drc slots
The client is actually asking for 2532 bytes. I suspect that's a
mistake. But maybe we can allow some more. In theory lock needs more
if it might return a maximum-length lockowner in the denied case.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index fda9ce28b1b2..374c66283ac5 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h | |||
@@ -122,7 +122,7 @@ static inline struct nfs4_delegation *delegstateid(struct nfs4_stid *s) | |||
122 | /* Maximum number of operations per session compound */ | 122 | /* Maximum number of operations per session compound */ |
123 | #define NFSD_MAX_OPS_PER_COMPOUND 16 | 123 | #define NFSD_MAX_OPS_PER_COMPOUND 16 |
124 | /* Maximum session per slot cache size */ | 124 | /* Maximum session per slot cache size */ |
125 | #define NFSD_SLOT_CACHE_SIZE 1024 | 125 | #define NFSD_SLOT_CACHE_SIZE 2048 |
126 | /* Maximum number of NFSD_SLOT_CACHE_SIZE slots per session */ | 126 | /* Maximum number of NFSD_SLOT_CACHE_SIZE slots per session */ |
127 | #define NFSD_CACHE_SIZE_SLOTS_PER_SESSION 32 | 127 | #define NFSD_CACHE_SIZE_SLOTS_PER_SESSION 32 |
128 | #define NFSD_MAX_MEM_PER_SESSION \ | 128 | #define NFSD_MAX_MEM_PER_SESSION \ |