diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-08-29 20:03:52 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-09-19 13:08:36 -0400 |
commit | 5405fc44c3377358205ab4095fe9c44716aa0900 (patch) | |
tree | 0cc85d03b5503ee017f84318c9c32a86fd6e6fc1 /fs/nfs/nfs4session.h | |
parent | bb6aeba736ba9fd4d9569eec4bc3f7aecb42162a (diff) | |
download | linux-stable-5405fc44c3377358205ab4095fe9c44716aa0900.tar.gz linux-stable-5405fc44c3377358205ab4095fe9c44716aa0900.tar.bz2 linux-stable-5405fc44c3377358205ab4095fe9c44716aa0900.zip |
NFSv4.x: Add kernel parameter to control the callback server
Add support for the kernel parameter nfs.callback_nr_threads to set
the number of threads that will be assigned to the callback channel.
Add support for the kernel parameter nfs.nfs.max_session_cb_slots
to set the maximum size of the callback channel slot table.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/nfs4session.h')
-rw-r--r-- | fs/nfs/nfs4session.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4session.h b/fs/nfs/nfs4session.h index f703b755351b..3bb6af70973c 100644 --- a/fs/nfs/nfs4session.h +++ b/fs/nfs/nfs4session.h @@ -9,6 +9,7 @@ /* maximum number of slots to use */ #define NFS4_DEF_SLOT_TABLE_SIZE (64U) +#define NFS4_DEF_CB_SLOT_TABLE_SIZE (1U) #define NFS4_MAX_SLOT_TABLE (1024U) #define NFS4_NO_SLOT ((u32)-1) |