Whamcloud - gitweb
Branch b1_6
authoradilger <adilger>
Thu, 17 May 2007 19:03:11 +0000 (19:03 +0000)
committeradilger <adilger>
Thu, 17 May 2007 19:03:11 +0000 (19:03 +0000)
Make sure that the unlinked file actually releases all of the blocks on
disk, otherwise the next test may fail with ENOSPC.
b=12507

lustre/tests/oos.sh
lustre/tests/oos2.sh

index 3da2ceb..31ac3ab 100755 (executable)
@@ -78,6 +78,7 @@ fi
 #lctl debug_daemon stop
 
 rm -f $OOS
+sync; sleep 1; sync
 
 if [ $SUCCESS -eq 1 ]; then
        echo "Success!"
index 60772c4..580fad2 100644 (file)
@@ -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!"