]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nfsd: report the requested maximum number of threads instead of number running
authorJeff Layton <jlayton@kernel.org>
Thu, 5 Feb 2026 12:59:20 +0000 (07:59 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Tue, 24 Feb 2026 15:27:51 +0000 (10:27 -0500)
commit364410170ab33f6e7ef0eb2afb12bf89b0feb3a6
tree9767ec83ad64d9905fce9f7fb0f5c2353e62b80e
parent92978c83bb4eef55d02a6c990c01c423131eefa7
nfsd: report the requested maximum number of threads instead of number running

The current netlink and /proc interfaces deviate from their traditional
values when dynamic threading is enabled, and there is currently no way
to know what the current setting is. This patch brings the reporting
back in line with traditional behavior.

Make these interfaces report the requested maximum number of threads
instead of the number currently running. Also, update documentation and
comments to reflect that this value represents a maximum and not the
number currently running.

Fixes: d8316b837c2c ("nfsd: add controls to set the minimum number of threads per pool")
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Documentation/netlink/specs/nfsd.yaml
fs/nfsd/nfsctl.c
fs/nfsd/nfssvc.c