]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/172: raise fs size
authorWang Xiaoguang <wangxg.fnst@cn.fujitsu.com>
Wed, 31 Aug 2016 11:50:55 +0000 (19:50 +0800)
committerEryu Guan <eguan@redhat.com>
Thu, 1 Sep 2016 03:26:21 +0000 (11:26 +0800)
commita54bed2236467c6d2119ee456e497e23342adb62
tree1dbf3ff53fd4661f599ce42e5f2469c8ad9f3cdb
parent0dea6dc3eaba902347d0fefd249bbe16b493ae4f
generic/172: raise fs size

In original codes, if block size is 4096, fs size will be limited
to 60MB. In such small fs, btrfs is not able to write 40MB data,
because some space has been reserved internally, so the first
_pwrite_byte in this test case will fail for enospc error.

Also from this test case's test purpose, it tries to reflink a file
that uses more than half of the fs space, so here we can just define
fs size to be 256MB, the file to be reflinked to be 168MB.

Signed-off-by: Wang Xiaoguang <wangxg.fnst@cn.fujitsu.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/172