Whamcloud - gitweb
Branch b_release_1_8_1
authoryujian <yujian>
Thu, 16 Jul 2009 01:59:07 +0000 (01:59 +0000)
committeryujian <yujian>
Thu, 16 Jul 2009 01:59:07 +0000 (01:59 +0000)
b=20047
i=robert.read
i=yong.fan

reset debug level if lustre was already mounted

lustre/tests/replay-ost-single.sh
lustre/tests/test-framework.sh

index b5d92d3..d3abacb 100755 (executable)
@@ -2,7 +2,6 @@
 
 set -e
 
-PTLDEBUG=${PTLDEBUG:--1}
 LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)}
 SETUP=${SETUP:-""}
 CLEANUP=${CLEANUP:-""}
index c4ec15d..a3332cc 100644 (file)
@@ -1515,6 +1515,11 @@ check_and_setup_lustre() {
         check_config $MOUNT
         init_facets_vars
         init_param_vars
+
+        do_nodes $(comma_list $(nodes_list)) "lctl set_param debug=\\\"$PTLDEBUG\\\";
+            lctl set_param subsystem_debug=\\\"${SUBSYSTEM# }\\\";
+            lctl set_param debug_mb=${DEBUG_SIZE};
+            sync"
     fi
     if [ "$ONLY" == "setup" ]; then
         exit 0