Whamcloud - gitweb
LU-2213 scrub: stop LFSCK before osd_shutdown
authorFan Yong <yong.fan@whamcloud.com>
Mon, 22 Oct 2012 17:12:05 +0000 (01:12 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 29 Oct 2012 05:40:52 +0000 (01:40 -0400)
commit9e88126a41ccc5358be6174580e820f6080a774c
treea0c5567eb1d20679717c07c899baba7182f556a9
parent2eac0e35ae662ba0839b0867820608ab4800fa44
LU-2213 scrub: stop LFSCK before osd_shutdown

The osd_shutdown will clean all the otable-based iteration,
but up layer LFSCK depends on the otable-based iteration.

So we need to stop the LFSCK before osd_shutdown called.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Change-Id: I97625d54766122314630aff0069d9e14d23b9840
Reviewed-on: http://review.whamcloud.com/4217
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
lustre/mdd/mdd_device.c
lustre/tests/test-framework.sh