]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
generic: add test for missing btrfs csums in log when doing async on subpage vol
authorMark Harmstone <maharmstone@fb.com>
Tue, 15 Oct 2024 15:39:34 +0000 (16:39 +0100)
committerZorro Lang <zlang@kernel.org>
Wed, 23 Oct 2024 03:56:04 +0000 (11:56 +0800)
commitcf97fa373d61e14d3d661fe367a3449996893867
treed54df8adf3ab7a468899bfe6e000b28d6d6b5564
parent9eda73ff46959ab6f0504c46062f9071a8cedc3b
generic: add test for missing btrfs csums in log when doing async on subpage vol

Adds a test for a bug we encountered on Linux 6.4 on aarch64, where a
race could mean that csums weren't getting written to the log tree,
leading to corruption when it was replayed.

The patches to detect log this tree corruption are in btrfs-progs 6.11.

Signed-off-by: Mark Harmstone <maharmstone@fb.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/757 [new file with mode: 0755]
tests/generic/757.out [new file with mode: 0644]