]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfstests: fix xfs/205 for new log size defaults
authorEric Sandeen <sandeen@redhat.com>
Wed, 9 Oct 2013 19:48:45 +0000 (19:48 +0000)
committerRich Johnston <rjohnston@sgi.com>
Wed, 16 Oct 2013 20:22:35 +0000 (15:22 -0500)
test xfs/205 expects a certain log size, but defaults have
changed, the logs are bigger, and this test now fails w/ early
ENOSPC:

     QA output created by 205
    +   !!! disk full (expected)
    +   !!! disk full (expected)
    +   !!! disk full (expected)
     *** one file
    +   !!! disk full (expected)
     *** one file, a few bytes at a time
     ...

Fix this by specifying the log size at mkfs time, so freespace is
as the test expects it to be.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
tests/xfs/205

index c9b73a19bb07eea2d40f50996aa668ac5c7c50c5..0c071ca653cc6e38deb555cb4a63d67827c62391 100755 (executable)
@@ -41,7 +41,7 @@ _require_scratch
 
 rm -f $seqres.full
 
-_scratch_mkfs_xfs -d size=16m -b size=512 >> $seqres.full 2>&1
+_scratch_mkfs_xfs -d size=16m -b size=512 -l size=4944b >> $seqres.full 2>&1
 _scratch_mount
 
 # fix the reserve block pool to a known size so that the enospc calculations