diff options
| author | Jeff Layton <[email protected]> | 2025-05-28 00:12:47 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2025-06-19 13:35:38 +0000 |
| commit | 8ea688a3372e8369dc04395b39b4e71a6d91d4d5 (patch) | |
| tree | 818c23755107b552714c25e81c6e464a16b3c26d /lib/crypto/mpi/mpi-mul.c | |
| parent | SUNRPC: Cleanup/fix initial rq_pages allocation (diff) | |
| download | kernel-8ea688a3372e8369dc04395b39b4e71a6d91d4d5.tar.gz kernel-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: [email protected]
Reported-by: Mike Snitzer <[email protected]>
Closes: https://lore.kernel.org/linux-nfs/[email protected]/
Signed-off-by: Jeff Layton <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Mike Snitzer <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
