Whamcloud - gitweb
LU-3041 lfsck: improve lfsck.sh on b1_8
authorEmoly Liu <emoly.liu@intel.com>
Tue, 7 May 2013 16:33:26 +0000 (00:33 +0800)
committerJohann Lombardi <johann.lombardi@intel.com>
Tue, 11 Jun 2013 13:07:22 +0000 (09:07 -0400)
commit7c0258c160ba7f9a8340a2a57c659f8d5bf622de
treeed3f0d47a68ba995e32567cf3c60f865a45da027
parent9e68550451fbc23412f15f3dda51b3316ea753f9
LU-3041 lfsck: improve lfsck.sh on b1_8

The test directory of lfsck.sh contains some files referencing same
object, which could cause error when removing the directory on test
cleanup. Also, in lfsck.sh we shouldn't use debugfs to remove objects,
that'll cause quota usage inconsistence warning in e2fsck.

This patch is a backport of commit 622148 and 2df010, and it also
includes part of the patch of LU-3133 and LU-3180.

Test-Parameters: testlist=lfsck

Signed-off-by: Liu Ying <emoly.liu@intel.com>
Change-Id: I6fd5db0c921e744f12a92676eb906d730b9c3d10
Reviewed-on: http://review.whamcloud.com/5968
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
lustre/tests/cfg/local.sh
lustre/tests/lfsck.sh
lustre/tests/test-framework.sh