]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: test a compressed send stream scenario that triggered a read corruption
authorFilipe Manana <fdmanana@suse.com>
Tue, 16 Jul 2024 10:14:45 +0000 (11:14 +0100)
committerAnand Jain <anand.jain@oracle.com>
Sun, 21 Jul 2024 11:18:41 +0000 (19:18 +0800)
commit592f6a79f56ea9e3033eb28ea92aeb4526cd6e03
tree21e6aea5c03f253f27baa589edf510b2296968bc
parent9b6922eb610c8064f1553ca9835a1fea93a3100e
btrfs: test a compressed send stream scenario that triggered a read corruption

Test a scenario of a compressed send stream that triggered a bug in the
extent map merging code introduced in the merge window for 6.11.

The commit that introduced the bug is on its way to Linus' tree and its
subject is:

   "btrfs: introduce new members for extent_map"

The corresponding fix was submitted to the btrfs mailing list, with the
subject:

  "btrfs: fix corrupt read due to bad offset of a compressed extent map"

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
tests/btrfs/312 [new file with mode: 0755]
tests/btrfs/312.out [new file with mode: 0644]