Whamcloud - gitweb
LU-7004 utils: defer conf_param deprecation 79/15979/2
authorAndreas Dilger <andreas.dilger@intel.com>
Thu, 13 Aug 2015 19:12:49 +0000 (13:12 -0600)
committerAndreas Dilger <andreas.dilger@intel.com>
Fri, 14 Aug 2015 17:53:31 +0000 (17:53 +0000)
Since there has been relatively little testing of "lctl set_param -P"
and the test scripts and documentation have not been converted from
using "lctl conf_param" yet, I'm deferring the conf_param deprecation
warning to 2.8.53 (essentially 2.9.0) to give time for this change.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I6e879aaf5f9c9e1434f52a7274c663096ceb35b5
Reviewed-on: http://review.whamcloud.com/15979
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Artem Blagodarenko <artem.blagodarenko@seagate.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
lustre/utils/lustre_cfg.c

index 4652f5a..9486ccb 100644 (file)
@@ -608,7 +608,7 @@ int jt_lcfg_mgsparam(int argc, char **argv)
        struct lustre_cfg *lcfg;
        char *buf = NULL;
 
-#if LUSTRE_VERSION_CODE >= OBD_OCD_VERSION(2, 7, 53, 0)
+#if LUSTRE_VERSION_CODE >= OBD_OCD_VERSION(2, 8, 53, 0)
        fprintf(stderr, "warning: 'lctl conf_param' is deprecated, "
                "use 'lctl set_param -P' instead\n");
 #endif