Whamcloud - gitweb
LU-386 fix replay_single test_65a
authorBobi Jam <bobijam@whamcloud.com>
Tue, 28 Jun 2011 04:15:22 +0000 (12:15 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 7 Jul 2011 04:25:18 +0000 (21:25 -0700)
Set debug level as concise as possible, too many log messages will wrap
around log buffer and overwrite what we need.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I08bfbe6c77d87afd13f46966c2ae8a3fffe2e19e
Reviewed-on: http://review.whamcloud.com/1025
Tested-by: Hudson
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/replay-single.sh

index 518804a..d086fc5 100755 (executable)
@@ -1572,7 +1572,7 @@ test_65a() #bug 3055
     at_start || return 0
     $LCTL dk > /dev/null
     debugsave
     at_start || return 0
     $LCTL dk > /dev/null
     debugsave
-    sysctl -w lnet.debug="+other"
+    $LCTL set_param debug="other"
     # Slow down a request to the current service time, this is critical
     # because previous tests may have caused this value to increase.
     REQ_DELAY=`lctl get_param -n mdc.${FSNAME}-MDT0000-mdc-*.timeouts |
     # Slow down a request to the current service time, this is critical
     # because previous tests may have caused this value to increase.
     REQ_DELAY=`lctl get_param -n mdc.${FSNAME}-MDT0000-mdc-*.timeouts |
@@ -1601,7 +1601,7 @@ test_65b() #bug 3055
     at_start || return 0
     # turn on D_ADAPTTO
     debugsave
     at_start || return 0
     # turn on D_ADAPTTO
     debugsave
-    sysctl -w lnet.debug="other trace"
+    $LCTL set_param debug="other trace"
     $LCTL dk > /dev/null
     # Slow down a request to the current service time, this is critical
     # because previous tests may have caused this value to increase.
     $LCTL dk > /dev/null
     # Slow down a request to the current service time, this is critical
     # because previous tests may have caused this value to increase.