Whamcloud - gitweb
LU-4955 lfsck: reset param when the LFSCK is reset 91/10091/9
authorFan Yong <fan.yong@intel.com>
Sat, 5 Apr 2014 02:26:00 +0000 (10:26 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 9 May 2014 14:33:15 +0000 (14:33 +0000)
commitcb22837bcded8f95461c0d4760b2b9add0956e71
treec0117188912510c09e2a5ebcc19cc9966f50bcb9
parent4e308ef74f271ec7e19917e3c0f88586537582c3
LU-4955 lfsck: reset param when the LFSCK is reset

If "--reset" or "-r" is specified when start the LFSCK manually,
then all non-specified parameters will be set as default values.

If the former LFSCK instance completed, then when re-trigger the
LFSCK, it will restart from the beginning, and all non-specified
parameters will be set as default values.

Change the "window" option in lfsck_start to "window_size".

Update the lctl manpage for LFSCK.

Signed-off-by: James Nunez <james.a.nunez@intel.com>
Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I5b1d7dd2507ab2f50e152f5a839bf9544a9dc255
Reviewed-on: http://review.whamcloud.com/10091
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
lustre/doc/lctl.8
lustre/lfsck/lfsck_bookmark.c
lustre/lfsck/lfsck_internal.h
lustre/lfsck/lfsck_layout.c
lustre/lfsck/lfsck_lib.c
lustre/lfsck/lfsck_namespace.c
lustre/osd-ldiskfs/osd_scrub.c
lustre/tests/sanity-scrub.sh
lustre/utils/lctl.c
lustre/utils/lustre_lfsck.c