]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nfsd: add controls to set the minimum number of threads per pool
authorJeff Layton <jlayton@kernel.org>
Tue, 6 Jan 2026 18:59:50 +0000 (13:59 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 28 Jan 2026 15:15:42 +0000 (10:15 -0500)
commitd8316b837c2ca5f92e781fa1575095c0132ae3c1
tree499511a9715912ae653a8d5176ee2d227d0f1f2b
parent1c87a0c39a860e19eee41815737e38b2a035c040
nfsd: add controls to set the minimum number of threads per pool

Add a new "min_threads" variable to the nfsd_net, along with the
corresponding netlink interface, to set that value from userland.
Pass that value to svc_set_pool_threads() and svc_set_num_threads().

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Documentation/netlink/specs/nfsd.yaml
fs/nfsd/netlink.c
fs/nfsd/netns.h
fs/nfsd/nfsctl.c
fs/nfsd/nfssvc.c
fs/nfsd/trace.h
include/uapi/linux/nfsd_netlink.h