diff options
author | 2025-05-27 20:12:47 -0400 | |
---|---|---|
committer | 2025-06-19 09:35:38 -0400 | |
commit | 8ea688a3372e8369dc04395b39b4e71a6d91d4d5 (patch) | |
tree | 818c23755107b552714c25e81c6e464a16b3c26d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | SUNRPC: Cleanup/fix initial rq_pages allocation (diff) | |
download | wireguard-linux-8ea688a3372e8369dc04395b39b4e71a6d91d4d5.tar.xz wireguard-linux-8ea688a3372e8369dc04395b39b4e71a6d91d4d5.zip |
nfsd: use threads array as-is in netlink interface
The old nfsdfs interface for starting a server with multiple pools
handles the special case of a single entry array passed down from
userland by distributing the threads over every NUMA node.
The netlink control interface however constructs an array of length
nfsd_nrpools() and fills any unprovided slots with 0's. This behavior
defeats the special casing that the old interface relies on.
Change nfsd_nl_threads_set_doit() to pass down the array from userland
as-is.
Fixes: 7f5c330b2620 ("nfsd: allow passing in array of thread counts via netlink")
Cc: stable@vger.kernel.org
Reported-by: Mike Snitzer <snitzer@kernel.org>
Closes: https://lore.kernel.org/linux-nfs/aDC-ftnzhJAlwqwh@kernel.org/
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions