Use larger files in test - makes it easier to expose problem.
authorLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Aug 2007 16:10:35 +0000 (16:10 +0000)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Aug 2007 16:10:35 +0000 (16:10 +0000)
Merge of master-melb:xfs-cmds:29558a by kenmcd.

  Use larger files in test - makes it easier to expose problem.

180

diff --git a/180 b/180
index e81d42fd41709e08c6993d5c51bf1c52cd4fb31f..5af603e6535b0267b12c6961fc7288cf16709684 100644 (file)
--- a/180
+++ b/180
@@ -47,8 +47,8 @@ _check_files()
                # if file is missing then sync failed
                if [ -e $file ]
                then
-                       # if file size is not 32k then sync failed
-                       if [ `stat -c %s $file` -eq 32768 ]
+                       # if file size is not 10MB then sync failed
+                       if [ `stat -c %s $file` -eq 10485760 ]
                        then
                                # if file has non-zero size but no extents then it's contents will be NULLs, bad.
                                if xfs_bmap $file | grep 'no extents' > /dev/null
@@ -72,7 +72,7 @@ i=1;
 while [ $i -lt 1000 ]
 do
        file=$SCRATCH_MNT/$i
-       xfs_io -f -c "pwrite -b 32k -S 0xff 0 32k" $file > /dev/null
+       xfs_io -f -c "pwrite -b 64k -S 0xff 0 10m" $file > /dev/null
        i=`expr $i + 1`
 done