]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs/{080,329,434,436}: add missing check for fallocate support
authorDarrick J. Wong <djwong@kernel.org>
Wed, 18 Jan 2023 00:43:16 +0000 (16:43 -0800)
committerZorro Lang <zlang@kernel.org>
Fri, 20 Jan 2023 13:27:41 +0000 (21:27 +0800)
commit1cb825fdefd71e3c54a41326780998743ecca331
tree0fae4f3e07a985c2ada9278dbbd16e7aca46f6c2
parent28aadc29ed2f387549821df25f8b41c83190f96a
xfs/{080,329,434,436}: add missing check for fallocate support

Don't run this test if the filesystem doesn't support fallocate.  This
is only ever the case if always_cow is enabled.

The same logic applies to xfs/329, though it's more subtle because the
test itself does not explicitly invoke fallocate; rather, it is xfs_fsr
that requires fallocate.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/080
tests/xfs/329
tests/xfs/434
tests/xfs/436