From 1ba0e370292d6f277ed2a3a032c5d57123496339 Mon Sep 17 00:00:00 2001 From: vitaly Date: Tue, 15 Sep 2009 13:48:41 +0000 Subject: [PATCH] Branch HEAD b=19154 i=grev check all the ost they are sync'ed with mds, not only the 1st one. --- lustre/tests/replay-single.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 3c93b08..2ebecbf 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -484,7 +484,8 @@ test_20b() { # bug 10480 # orphan cleanup. Wait for llogs to get synchronized. echo waiting for orphan cleanup... while [ true ]; do - local -a sync=($(do_facet ost "$LCTL get_param obdfilter.*.mds_sync" | awk -F= ' {print $2}')) + local -a sync=($(do_nodes $(comma_list $(osts_nodes)) \ + "$LCTL get_param obdfilter.*.mds_sync" | awk -F= ' {print $2}')) local con=1 for ((i=0; i<${#sync[@]}; i++)); do [ ${sync[$i]} -eq 0 ] && continue -- 1.8.3.1