btrfs: add regression test for incremental send

Test for a btrfs incremental send issue where we end up sending a
wrong section of data from a file extent if the corresponding file
extent is compressed and the respective file extent item has a non
zero data offset.

Fixed by the following linux kernel btrfs patch:

   Btrfs: use right clone root offset for compressed extents

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Filipe David Borba Manana
2014-02-18 21:18:20 +11:00
committed by Dave Chinner
parent 8350a0bb05
commit 4eb876c371
4 changed files with 134 additions and 0 deletions
+1
View File
@@ -40,3 +40,4 @@
035 auto quick
036 auto quick
037 auto quick
038 auto quick