Whamcloud - gitweb
LU-8890 ptlrpc: fix module_param in ptlrpcd.c 65/24065/3
authorDmitry Eremin <dmitry.eremin@intel.com>
Fri, 25 Nov 2016 18:00:14 +0000 (21:00 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 23 Dec 2016 05:06:19 +0000 (05:06 +0000)
Missing module parameter description for ptlrpcd_per_cpt_max

Change-Id: Id00d6bd73cf2779e0f12db5184292ebdb0cfa8ae
Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-on: https://review.whamcloud.com/24065
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/ptlrpc/ptlrpcd.c

index 76c9066..f305739 100644 (file)
@@ -82,7 +82,8 @@ struct ptlrpcd {
  */
 static int max_ptlrpcds;
 module_param(max_ptlrpcds, int, 0644);
  */
 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
 
 /*
  * 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;
  * in a CPT.
  */
 static int ptlrpcd_per_cpt_max;
+module_param(ptlrpcd_per_cpt_max, int, 0644);
 MODULE_PARM_DESC(ptlrpcd_per_cpt_max,
 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
 
 /*
  * ptlrpcd_partner_group_size: The desired number of threads in each