Whamcloud - gitweb
LU-5848 debug: more debug log for dt_sync
[fs/lustre-release.git] / lustre / tests / sanity-lfsck.sh
index 0ece9cd..e563d03 100644 (file)
@@ -54,8 +54,6 @@ setupall
 
 build_test_filter
 
-$LCTL set_param debug=+lfsck > /dev/null || true
-
 MDT_DEV="${FSNAME}-MDT0000"
 OST_DEV="${FSNAME}-OST0000"
 MDT_DEVNAME=$(mdsdevname ${SINGLEMDS//mds/})
@@ -1658,6 +1656,8 @@ test_17() {
 }
 run_test 17 "LFSCK can repair multiple references"
 
+$LCTL set_param debug=+cache > /dev/null
+
 test_18a() {
        echo "#####"
        echo "The target MDT-object is there, but related stripe information"
@@ -2345,6 +2345,8 @@ test_18f() {
 }
 run_test 18f "Skip the failed OST(s) when handle orphan OST-objects"
 
+$LCTL set_param debug=-cache > /dev/null
+
 test_19a() {
        check_mount_and_prep
        $LFS setstripe -c 1 -i 0 $DIR/$tdir
@@ -4142,8 +4144,6 @@ test_31h() {
 }
 run_test 31h "Repair the corrupted shard's name entry"
 
-$LCTL set_param debug=-lfsck > /dev/null || true
-
 # restore MDS/OST size
 MDSSIZE=${SAVED_MDSSIZE}
 OSTSIZE=${SAVED_OSTSIZE}