From: grev Date: Fri, 14 Dec 2007 09:55:07 +0000 (+0000) Subject: b=13306 X-Git-Tag: v1_7_0_51~395 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=742597c1aa7f4f0a021866fedf446d174f53e500;p=fs%2Flustre-release.git b=13306 i=Adilger wait delete completed before check kbytesavail --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 597f8fd..6ef903c 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -3983,8 +3983,9 @@ test_115() { run_test 115 "verify dynamic thread creation====================" free_min_max () { - AVAIL=($(cat $LPROC/osc/*[oO][sS][cC]-[^M]*/kbytesavail)) - echo OST kbytes available: ${AVAIL[@]} + wait_delete_completed + AVAIL=($(cat $LPROC/osc/*[oO][sS][cC]-[^M]*/kbytesavail)) + echo OST kbytes available: ${AVAIL[@]} MAXI=0; MAXV=${AVAIL[0]} MINI=0; MINV=${AVAIL[0]} for ((i = 0; i < ${#AVAIL[@]}; i++)); do