Whamcloud - gitweb
LU-2663 tests: don't remove objects by debugfs
authorNiu Yawei <niu@whamcloud.com>
Mon, 28 Jan 2013 09:19:57 +0000 (04:19 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 31 Jan 2013 02:00:52 +0000 (21:00 -0500)
commit622148ee4bf305bc32ecf565d42c97f466cc90d8
treec6df7e65b8e69bc704f1efc7d4f65267a33bd77f
parent28fc8fcc8bfe092c9a1a8c192ab6fe22d92820e7
LU-2663 tests: don't remove objects by debugfs

In lfsck.sh, we shouldn't use debugfs to remove objects, that'll
cause quota usage inconsistence warning in e2fsck.

Fix improper LBUG() in mdd_create_data(), MDS_OPEN_HAS_OBJS is
still used by lfsck.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I93c6f5c40e359d0d8402868be548088d6e2ac5da
Reviewed-on: http://review.whamcloud.com/5186
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Tested-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/mdd/mdd_dir.c
lustre/tests/lfsck.sh
lustre/tests/test-framework.sh