btrfs: send with shared and compressed extents
authorFilipe Manana <fdmanana@suse.com>
Wed, 14 Oct 2015 03:19:34 +0000 (14:19 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 14 Oct 2015 03:19:34 +0000 (14:19 +1100)
commit71d8215c197819bdccc3aa3658b59e09660133f9
treec90016d5db9093eb809230380181a9ceda6ed42e
parentf1b304ab9796458a076c7e22ce983c5bef0f16f4
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>
tests/btrfs/109 [new file with mode: 0755]
tests/btrfs/109.out [new file with mode: 0644]
tests/btrfs/group