Whamcloud - gitweb
LU-5867 lfsck: Enable --create_mdtobj flag 78/12578/5
authorJames Nunez <james.a.nunez@intel.com>
Tue, 9 Sep 2014 18:53:42 +0000 (02:53 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 3 Dec 2014 02:27:52 +0000 (02:27 +0000)
commitb5b882f05e2436f1419b5692cc567e92d1cb5b33
tree8989341740ab0f3b1281ae7dc59c58a0fe225752
parentb0236f7b024b5f76d8915334480dd6387f71451f
LU-5867 lfsck: Enable --create_mdtobj flag

Using the --create_mdtobj flag in 'lctl lfsck_start'
creates an error. "create_mdtobj" is added to the
option struct so it will be recognized as a valid option.

When displaying the results of LFSCK, "create_mdtobj" is
not listed as a parameter. "create_mdtobj" is added to
the lfsck_param_names array so it will be printed when
used.

Also, added LSV_CREATE_MDTOBJ to the lfsck_request
valid options/flags.

Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: I1923bb9a71958b390b9abea248b328ac59c3caad
Reviewed-on: http://review.whamcloud.com/12578
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lfsck/lfsck_engine.c
lustre/lfsck/lfsck_lib.c
lustre/utils/lustre_lfsck.c