From: Dmitry Eremin Date: Fri, 25 Nov 2016 18:00:14 +0000 (+0300) Subject: LU-8890 ptlrpc: fix module_param in ptlrpcd.c X-Git-Tag: 2.9.51~4 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=87f7026d372aef8e4b6534408e3e72cb9f304456;p=fs%2Flustre-release.git LU-8890 ptlrpc: fix module_param in ptlrpcd.c Missing module parameter description for ptlrpcd_per_cpt_max Change-Id: Id00d6bd73cf2779e0f12db5184292ebdb0cfa8ae Signed-off-by: Dmitry Eremin Reviewed-on: https://review.whamcloud.com/24065 Reviewed-by: John L. Hammond Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger --- diff --git a/lustre/ptlrpc/ptlrpcd.c b/lustre/ptlrpc/ptlrpcd.c index 76c9066..f305739 100644 --- a/lustre/ptlrpc/ptlrpcd.c +++ b/lustre/ptlrpc/ptlrpcd.c @@ -82,7 +82,8 @@ struct ptlrpcd { */ static int max_ptlrpcds; module_param(max_ptlrpcds, int, 0644); -MODULE_PARM_DESC(max_ptlrpcds, "Max ptlrpcd thread count to be started."); +MODULE_PARM_DESC(max_ptlrpcds, + "Max ptlrpcd thread count to be started (obsolete)."); /* * ptlrpcd_bind_policy is obsolete, but retained to ensure that @@ -100,8 +101,9 @@ MODULE_PARM_DESC(ptlrpcd_bind_policy, * in a CPT. */ static int ptlrpcd_per_cpt_max; +module_param(ptlrpcd_per_cpt_max, int, 0644); MODULE_PARM_DESC(ptlrpcd_per_cpt_max, - "Max ptlrpcd thread count to be started per cpt."); + "Max ptlrpcd thread count to be started per CPT."); /* * ptlrpcd_partner_group_size: The desired number of threads in each