btrfs-progs/tests/misc-tests
Qu Wenruo 885fe371c8 btrfs-progs: tests: misc/030: do not require v1 cache for the test case
[PROBLEM]
Since we have migrated to default v2 cache, the test case
misc/030-missing-device-image is no longer executed:

    [TEST/misc]   030-missing-device-image
    [NOTRUN] unable to create v1 space cache

[CAUSE]
The test case itself is trying its best to cover all paths, including
the data extent read path.

Thus the test case is requiring v1 cache, as that's the only way to
cover the data read path.

[FIX]
Just remove the v1 space cache requirement, it's still better to run the
test even it only exercises the metadata read path.

The good news is, after commit 3ff9d35257 ("btrfs-progs: use
read_data_from_disk() to replace read_extent_from_disk() and replace
read_extent_data()"), all data/metadata read paths are unified.
They only difference is the verification part.

Thus even if we didn't fully exercise the data read path, we didn't lose
much coverage anyway.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-08-23 19:36:31 +02:00
..
001-btrfstune-features btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
002-uuid-rewrite btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
003-zero-log btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
004-shrink-fs btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
005-convert-progress-thread-crash btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
006-image-on-missing-device btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
007-subvolume-sync btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
008-leaf-crossing-stripes btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
009-subvolume-sync-must-wait btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
010-convert-delete-ext2-subvol btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
011-delete-missing-device btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
012-find-root-no-result btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
013-subvolume-sync-crash btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
014-filesystem-label btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
015-dump-super-garbage btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
016-send-clone-src btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
017-recv-stream-malformatted btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
018-recv-end-of-stream btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
019-receive-clones-on-mounted-subvol btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
020-fix-superblock-corruption btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
021-image-multi-devices btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
022-filesystem-du-on-empty-subvol btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
023-device-usage-with-missing-device btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
024-inspect-internal-rootid btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
025-zstd-compression btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
026-image-non-printable-chars btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
027-subvol-list-deleted-toplevel btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
028-superblock-recover btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
029-send-p-different-mountpoints btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
030-missing-device-image btrfs-progs: tests: misc/030: do not require v1 cache for the test case 2023-08-23 19:36:31 +02:00
031-qgroup-parent-child-relation btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
032-bad-item-ptr btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
033-filename-length-limit btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
034-metadata-uuid btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
035-receive-common-mount-point-prefix btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
036-receive-dump-invalid-stream btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
037-fi-show-on-new-file btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
038-backup-root-corruption btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
039-receive-clone-from-current-subvolume btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
040-subvolume-delete-default btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
041-subvolume-delete-during-send btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
042-inspect-internal-logical-resolve btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
043-subvolume-set-default-toplevel btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
045-receive-check-mount-type btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
046-seed-multi-mount btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
047-raid5-convert btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
048-image-restore-mount btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
049-btrfstune-transid-mismatch btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
050-receive-prop-ro-to-rw btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
051-warning-rw-subvol-received-uuid btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
052-seed-dirty-log btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
053-receive-write-encoded btrfs-progs: tests: don't show grep output when checking stream version 2023-07-26 15:00:47 +02:00
054-receive-dump-newlines btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
055-qgroup-clear-stale btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
056-subvolume-list-uuid btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
057-btrfstune-free-space-tree btrfs-progs: tests: check for btrfs ACL support 2023-07-26 14:59:10 +02:00
058-replace-start-enqueue btrfs-progs: tests: check if enqueued replace over replace waits 2023-07-27 14:45:29 +02:00