mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs: don't assume preallocation is always supported on XFS
The always_cow mode can't usefull preallocate space gіven that it always has to write out of place, and thus will reject falloc or ioctl calls to preallocate space in a file. Add explicit checks for preallocation support in various XFS-specific tests to support this. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
31735e301e
commit
09e94f84d9
@@ -34,6 +34,7 @@ _supported_os Linux
|
||||
_supported_fs xfs
|
||||
_require_cp_reflink
|
||||
_require_scratch_reflink
|
||||
_require_xfs_io_command "fpunch"
|
||||
_require_xfs_io_error_injection "refcount_finish_one"
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
Reference in New Issue
Block a user