From: grev Date: Fri, 29 Aug 2008 12:39:56 +0000 (+0000) Subject: b=16716 X-Git-Tag: v1_7_110~2^242 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=634876e7b4917dac79e2fac1fee5b1ba56747a45;p=fs%2Flustre-release.git b=16716 i=Nathan.Rutman restore the original at_max on all nodes --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 8403ff7..5c3cdf8 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -1069,9 +1069,16 @@ at_is_enabled() { } at_max_get() { + local facet=$1 + at_is_valid || error "invalid call" - do_facet $1 "cat $AT_MAX_PATH" + # suppose that all ost-s has the same at_max set + if [ $facet == "ost" ]; then + do_facet ost1 "cat $AT_MAX_PATH" + else + do_facet $facet "cat $AT_MAX_PATH" + fi } at_max_set() { @@ -1080,6 +1087,7 @@ at_max_set() { at_is_valid || error "invalid call" + local facet for facet in $@; do if [ $facet == "ost" ]; then for i in `seq $OSTCOUNT`; do