From: Dave Chinner Date: Mon, 20 Jan 2014 06:22:36 +0000 (+0000) Subject: xfs/104: use fixed log size X-Git-Tag: v2022.05.01~3277 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3ed573ee4b0652206dd527415ae9f8a04e76bf30;p=xfstests-dev.git xfs/104: use fixed log size In changing the default log sizes in mkfs, the freespace calculations in xfs/104 are no longer valid and so it fails with ENOSPC before running any of the growfs tests. Make the test use a fixed log size of 5MB so that freespace calculations remain valid and the test passes regardless of whether we have a new or old mkfs binary. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig Signed-off-by: Rich Johnston --- diff --git a/tests/xfs/104 b/tests/xfs/104 index d31cf164..e899acac 100755 --- a/tests/xfs/104 +++ b/tests/xfs/104 @@ -84,7 +84,7 @@ nags=4 size=`expr 120 \* 1048576` # 120 megabytes initially sizeb=`expr $size / $dbsize` # in data blocks echo "*** creating scratch filesystem" -_create_scratch -dsize=${size} -dagcount=${nags} +_create_scratch -lsize=5m -dsize=${size} -dagcount=${nags} fillsize=`expr 110 \* 1048576` # 110 megabytes of filling echo "*** using some initial space on scratch filesystem"