From ed823d1ba91c6f7e2992240a828a2c6cc74b3382 Mon Sep 17 00:00:00 2001 From: yujian Date: Thu, 16 Jul 2009 02:01:58 +0000 Subject: [PATCH] Branch b1_8 b=20047 i=robert.read i=yong.fan reset debug level if lustre was already mounted --- lustre/tests/replay-ost-single.sh | 1 - lustre/tests/test-framework.sh | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lustre/tests/replay-ost-single.sh b/lustre/tests/replay-ost-single.sh index b5d92d3..d3abacb 100755 --- a/lustre/tests/replay-ost-single.sh +++ b/lustre/tests/replay-ost-single.sh @@ -2,7 +2,6 @@ set -e -PTLDEBUG=${PTLDEBUG:--1} LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)} SETUP=${SETUP:-""} CLEANUP=${CLEANUP:-""} diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index e4cd153..d96d0e61 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -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 -- 1.8.3.1