xfs/146 uses the xfs_io falloc subcommand and thus kernel fallocate
support. Ensure the support is present.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
# error and returns EFSCORRUPTED.
. ./common/preamble
-_begin_fstest auto quick rw realtime
+_begin_fstest auto quick rw realtime prealloc
# Import common functions.
. ./common/filter
_supported_fs xfs
_require_scratch
_require_realtime
+_require_xfs_io_command "falloc"
_require_test_program "punch-alternating"
# Format filesystem to get the block size