diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-02-06 20:18:48 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-02-06 23:47:35 (GMT) |
commit | 883381246c5ac2c29b849fe619f55fa5961ee76d (patch) | |
tree | 363c99395d0a71d46f1c7ff2d40210cbf46fc985 /include/linux/nfs_fs_sb.h | |
parent | 5753cba17611af108995672c4e2d978014e17a56 (diff) | |
download | linux-fsl-qoriq-883381246c5ac2c29b849fe619f55fa5961ee76d.tar.xz |
SUNRPC: Change the default limit to the number of TCP slots
Since the scheme of limiting the number of TCP slots to whatever will
fit in the current TCP window seems to be working well (Andy reports
getting within 20% of the 'iperf' send performance on a 10GigE link)
we should just let that be the default mode of operation.
Users may still set their own limits using the tcp_max_slot_table_entries
parameter if they need to.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r-- | include/linux/nfs_fs_sb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index c234693..9e101c1 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h @@ -190,7 +190,7 @@ struct nfs_server { /* maximum number of slots to use */ -#define NFS4_MAX_SLOT_TABLE RPC_MAX_SLOT_TABLE +#define NFS4_MAX_SLOT_TABLE (128U) #if defined(CONFIG_NFS_V4) |