btrfs: add test for btrfs cloning with file holes
authorFilipe David Borba Manana <fdmanana@gmail.com>
Tue, 17 Jun 2014 23:29:00 +0000 (09:29 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 17 Jun 2014 23:29:00 +0000 (09:29 +1000)
commit36271c9b6834a806d4775843d68bd3c92c32720e
treef1099960dcc2ce2a209a0dcefefed2abceb86792
parent45d1fac1303acfa102384f48111dc3a458b93493
btrfs: add test for btrfs cloning with file holes

Regression test for the btrfs ioctl clone operation when the source range
contains hole(s) and the FS has the NO_HOLES feature enabled (file holes
don't need file extent items in the btree to represent them).

This issue is fixed by the following linux kernel btrfs patch:

    Btrfs: fix clone to deal with holes when NO_HOLES feature is enabled

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc
tests/btrfs/055 [new file with mode: 0755]
tests/btrfs/055.out [new file with mode: 0644]
tests/btrfs/group