From: adilger Date: Thu, 17 May 2007 19:03:11 +0000 (+0000) Subject: Branch b1_6 X-Git-Tag: v1_8_0_110~1605 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=efcee8719035265595063ce69507ee83da8eb605;p=fs%2Flustre-release.git Branch b1_6 Make sure that the unlinked file actually releases all of the blocks on disk, otherwise the next test may fail with ENOSPC. b=12507 --- diff --git a/lustre/tests/oos.sh b/lustre/tests/oos.sh index 3da2ceb..31ac3ab 100755 --- a/lustre/tests/oos.sh +++ b/lustre/tests/oos.sh @@ -78,6 +78,7 @@ fi #lctl debug_daemon stop rm -f $OOS +sync; sleep 1; sync if [ $SUCCESS -eq 1 ]; then echo "Success!" diff --git a/lustre/tests/oos2.sh b/lustre/tests/oos2.sh index 60772c4..580fad2 100644 --- a/lustre/tests/oos2.sh +++ b/lustre/tests/oos2.sh @@ -83,6 +83,7 @@ if [ "$RECORDSOUT" -ne $(($FILESIZE / 1024)) ]; then fi rm -f $OOS $OOS2 +sync; sleep 1; sync if [ $SUCCESS -eq 1 ]; then echo "Success!"