Whamcloud - gitweb
LU-14976 ptlrpc: align function names with param names 17/44817/3
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 2 Sep 2021 05:50:34 +0000 (23:50 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 27 Oct 2021 00:35:15 +0000 (00:35 +0000)
commit7fe49f1e7cf0586da0f389188325014a8a13b849
tree0b5c702711be4653a4397333fc8ffb2e27f1de54
parent13c7c2e3c248c8cdba4853852bfaecceb7a75afe
LU-14976 ptlrpc: align function names with param names

Change the internal function names for the ptlrpc proc tunables
to match the parameter names exposed to userspace.  Otherwise it
is needlessly complex to find the function that implements the
"nrs_policies" parameter, since the parameter use itself is wrapped
in a macro that generates the proc handling structure.

Clean up code style in related functions.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I9079766cccade963f1510cfcce228da9be3ebbe5
Reviewed-on: https://review.whamcloud.com/44817
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ptlrpc/lproc_ptlrpc.c