]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
btrfs: test an incremental send scenario with cloning of unaligned extent
authorFilipe Manana <fdmanana@suse.com>
Fri, 27 Sep 2024 10:28:07 +0000 (11:28 +0100)
committerZorro Lang <zlang@kernel.org>
Sun, 29 Sep 2024 13:06:46 +0000 (21:06 +0800)
commitd26d32028a78aaa972364c6d57894ed04bbcf9ba
tree0f710f440bf5fcda133ddd163a553087d602d95c
parent34ce77ce867d27ad7ad9a180489e4311c3cd15e4
btrfs: test an incremental send scenario with cloning of unaligned extent

Test that doing an incremental send with a file that had its size
decreased and became the destination for a clone operation of an extent
with an unaligned end offset that matches the new file size, works
correctly.

This tests a bug fixed by the following kernel patch:

  "btrfs: send: fix invalid clone operation for file that got its size decreased"

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/322 [new file with mode: 0755]
tests/btrfs/322.out [new file with mode: 0644]