btrfs: test that send can issue clone operations within the same file
authorFilipe Manana <fdmanana@suse.com>
Tue, 5 Nov 2019 14:57:00 +0000 (14:57 +0000)
committerEryu Guan <guaneryu@gmail.com>
Sun, 10 Nov 2019 13:10:59 +0000 (21:10 +0800)
commitcb836732356c890f321fdd1fbe737105666b7e9d
treebe4a33ca6c22d7115cc7da491135ffe027f60756
parent6fb111ab6089922ba94e83b888f57b2fe999fdbf
btrfs: test that send can issue clone operations within the same file

Verify that both full and incremental send operations can issue
clone operations when a file has extents that are shared with itself
(at different offsets of course).

This currently fails on btrfs but is addressed by a patch for the
kernel titled:

  "Btrfs: send, allow clone operations within the same file"

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/btrfs/200 [new file with mode: 0755]
tests/btrfs/200.out [new file with mode: 0644]
tests/btrfs/group