]> www.infradead.org Git - users/hch/misc.git/commit
sunrpc: refactor pool_mode setting code
authorJeff Layton <jlayton@kernel.org>
Thu, 13 Jun 2024 18:34:33 +0000 (14:34 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 8 Jul 2024 18:10:05 +0000 (14:10 -0400)
commit5f71f3c325534da55dfda487a67208e2e0f0cd1b
tree3ce7a0f136533bf79d34bfc6d6fdfac84f18b056
parent7f5c330b2620aaee668b206b8876300745c98221
sunrpc: refactor pool_mode setting code

Allow the pool_mode setting code to be called from internal callers
so we can call it from a new netlink op. Add a new svc_pool_map_get
function to return the current setting. Change the existing module
parameter handling to use the new interfaces under the hood.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/svc.h
net/sunrpc/svc.c