btrfs: test newly supported cases of cloning inline extents

Test several scenarios of cloning operations where the source range
includes inline extents. They used to not be supported on btrfs
because their implementation was not straightforward, and therefore
these operations used to fail with errno EOPNOTSUPP on older
kernels.

This currently fails on any released kernel. It passes only when the
patch with the following subject is applied:

  "Btrfs: implement full reflink support for inline extents"

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Filipe Manana
2020-02-19 14:06:41 +00:00
committed by Eryu Guan
parent dd0bcdadfe
commit 6f7ef01037
3 changed files with 415 additions and 0 deletions
+1
View File
@@ -207,3 +207,4 @@
202 auto quick subvol snapshot
203 auto quick send clone
204 auto quick punch
205 auto quick clone compress