summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2025-05-27 20:12:47 -0400
committerChuck Lever <chuck.lever@oracle.com>2025-06-19 09:35:38 -0400
commit8ea688a3372e8369dc04395b39b4e71a6d91d4d5 (patch)
tree818c23755107b552714c25e81c6e464a16b3c26d /tools/perf/scripts/python/exported-sql-viewer.py
parent8b3ac9fabaa825b7bae850ee7b4580c5cba32699 (diff)
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions