btrfs: send with shared and compressed extents

Test that a send operation works correctly with reflinked files (cloned
extents which multiple files point to) that have compressed extents.

This used to fail on btrfs, resulting in different file digests after
receiving the send stream, and got fixed by the linux kernel patch
titled:

  "Btrfs: send, fix file corruption due to incorrect cloning operations"

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Filipe Manana
2015-10-14 14:19:34 +11:00
committed by Dave Chinner
parent f1b304ab97
commit 71d8215c19
3 changed files with 125 additions and 0 deletions
+1
View File
@@ -111,3 +111,4 @@
106 auto quick clone compress
107 auto quick prealloc
108 auto quick send clone
109 auto quick send clone compress