Whamcloud - gitweb
Branch b1_4
authoradilger <adilger>
Mon, 30 May 2005 21:27:50 +0000 (21:27 +0000)
committeradilger <adilger>
Mon, 30 May 2005 21:27:50 +0000 (21:27 +0000)
Set -1 debugging for replay-single test 42.
b=5493

lustre/tests/replay-single.sh

index 1db816a..1e7268f 100755 (executable)
@@ -837,6 +837,8 @@ test_42() {
     createmany -o $DIR/$tfile-%d 800
     replay_barrier ost
     unlinkmany $DIR/$tfile-%d 0 400
+    DEBUG42=`sysctl portals.debug | tr -d ' '`
+    sysctl -w portals.debug=-1
     facet_failover ost
     
     # osc is evicted, fs is smaller
@@ -844,6 +846,7 @@ test_42() {
     [ $blocks_after -lt $blocks ] || return 1
     echo wait for MDS to timeout and recover
     sleep $((TIMEOUT * 2))
+    sysctl -w $DEBUG42
     unlinkmany $DIR/$tfile-%d 400 400
     $CHECKSTAT -t file $DIR/$tfile-* && return 2 || true
 }