]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: don't assume preallocation is supported when reflinks are supported
authorChristoph Hellwig <hch@lst.de>
Sat, 10 Nov 2018 11:51:42 +0000 (12:51 +0100)
committerEryu Guan <guaneryu@gmail.com>
Sun, 18 Nov 2018 13:16:04 +0000 (21:16 +0800)
commit31735e301efc80c990c23c0fa0765ebd4fd42313
tree49694c8cfb4dd862b89354de3379a09af469a3c7
parentad91ed8a66cf02e6fef372f207f4e6fbc4272dff
generic: don't assume preallocation is supported when reflinks are supported

Various reflink tests currently use fallocate to preallocate space
without first checking that preallocations are supported. Add
explicit checks.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/176
tests/generic/372
tests/generic/414
tests/generic/415
tests/generic/447
tests/generic/515