diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-21 22:34:45 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-05 18:30:47 -0500 |
commit | 0ca3f4825ac92a10aa8f6534f765c44f22778dd3 (patch) | |
tree | 52ece60771fde751d2ed43df4de0e3b1900d5829 /fs/nfs | |
parent | 76e697ba7e8d187f50e385d21a2b2f1709a62c14 (diff) |
NFSv4.1: Set the maximum slot table size to 1024 slots
This means that we end up statically allocating 128 bytes for the
bitmap on each slot table.
For a server that supports 1MB write and read I/O sizes this means
that we can completely fill the maximum 1GB TCP send/receive
windows.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/nfs4session.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4session.h b/fs/nfs/nfs4session.h index e96323ff1d95..bdd14a60722b 100644 --- a/fs/nfs/nfs4session.h +++ b/fs/nfs/nfs4session.h | |||
@@ -9,7 +9,7 @@ | |||
9 | 9 | ||
10 | /* maximum number of slots to use */ | 10 | /* maximum number of slots to use */ |
11 | #define NFS4_DEF_SLOT_TABLE_SIZE (16U) | 11 | #define NFS4_DEF_SLOT_TABLE_SIZE (16U) |
12 | #define NFS4_MAX_SLOT_TABLE (256U) | 12 | #define NFS4_MAX_SLOT_TABLE (1024U) |
13 | #define NFS4_NO_SLOT ((u32)-1) | 13 | #define NFS4_NO_SLOT ((u32)-1) |
14 | 14 | ||
15 | #if IS_ENABLED(CONFIG_NFS_V4) | 15 | #if IS_ENABLED(CONFIG_NFS_V4) |