Whamcloud - gitweb
Branch b1_8
authoryujian <yujian>
Thu, 16 Jul 2009 02:01:58 +0000 (02:01 +0000)
committeryujian <yujian>
Thu, 16 Jul 2009 02:01:58 +0000 (02:01 +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 e4cd153..d96d0e6 100644 (file)
@@ -1565,6 +1565,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