]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
generic/614: Run test only for filesystems supporting delalloc v2022.11.27
authorJan Kara <jack@suse.cz>
Tue, 22 Nov 2022 14:12:19 +0000 (15:12 +0100)
committerZorro Lang <zlang@kernel.org>
Wed, 23 Nov 2022 03:56:03 +0000 (11:56 +0800)
Simple filesystems such as ext2 or udf do not support delayed
allocation. Thus they allocate data blocks for mmap writes only during
writeback. This makes test generic/614 fail because it checks exactly
whether the blocks for the write are reserved before writeback happens.
Make the test depend on delayed allocation support.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/614

index 06630f2249c74bd32b7897159191b5ee51bd5a7f..3e2a587c8f9019e47fbe0595c62bc9bc86ebba7e 100755 (executable)
@@ -16,6 +16,7 @@ _begin_fstest auto quick rw
 # real QA test starts here
 _supported_fs generic
 _require_scratch
+_require_scratch_delalloc
 
 _scratch_mkfs >>$seqres.full 2>&1
 _scratch_mount