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>
This commit is contained in:
Filipe Manana
2019-11-05 14:57:00 +00:00
committed by Eryu Guan
parent 6fb111ab60
commit cb83673235
3 changed files with 140 additions and 0 deletions
+1
View File
@@ -202,3 +202,4 @@
197 auto quick volume
198 auto quick volume
199 auto quick trim
200 auto quick send clone