From: Eric Sandeen Date: Thu, 29 Mar 2012 03:26:29 +0000 (-0500) Subject: 235: do smaller test IO X-Git-Tag: v2022.05.01~3613 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=749f28fdc54882ecc1ebc8c5a5c632d8bc4e4c72;p=xfstests-dev.git 235: do smaller test IO Test 235 fails on ext2/ext3 with 1024 fs block size because a 16k write uses an extra metadata block. If we do a smaller write this won't happen. Reported by: Eryu Guan Signed-off-by: Eric Sandeen Reviewed-by: Dave Chinner --- diff --git a/235 b/235 index 7150fca1..0c2ae8fd 100755 --- a/235 +++ b/235 @@ -70,7 +70,7 @@ mount -o remount,ro $SCRATCH_DEV 2>&1 | tee -a $seq.full | _filter_scratch touch $SCRATCH_MNT/failed 2>&1 | tee -a $seq.full | _filter_scratch mount -o remount,rw $SCRATCH_DEV 2>&1 | tee -a $seq.full | _filter_scratch -$XFS_IO_PROG -F -c 'pwrite 0 16k' -c 'fsync' \ +$XFS_IO_PROG -F -c 'pwrite 0 8k' -c 'fsync' \ $SCRATCH_MNT/testfile >>$seq.full 2>&1 repquota -u -g $SCRATCH_MNT | grep -v "^root" | _filter_scratch diff --git a/235.out b/235.out index 345e29d6..a0956945 100644 --- a/235.out +++ b/235.out @@ -21,7 +21,7 @@ Block grace time: 7days; Inode grace time: 7days Block limits File limits User used soft hard grace used soft hard grace ---------------------------------------------------------------------- -fsgqa -- 16 0 0 1 0 0 +fsgqa -- 8 0 0 1 0 0 *** Report for group quotas on device SCRATCH_DEV @@ -29,6 +29,6 @@ Block grace time: 7days; Inode grace time: 7days Block limits File limits Group used soft hard grace used soft hard grace ---------------------------------------------------------------------- -fsgqa -- 16 0 0 1 0 0 +fsgqa -- 8 0 0 1 0 0