]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: test send issue with non-aligned clone operations
authorFilipe David Borba Manana <fdmanana@gmail.com>
Mon, 20 Jan 2014 02:28:38 +0000 (13:28 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 20 Jan 2014 02:28:38 +0000 (13:28 +1100)
commit74643fc9ac309add85b960064e1f135efd9a2e3a
treea381d59d6d4c076c798b7a3668b758f9795f6c56
parent99b3a9ab2a0906363706e26cf3be0780908d299a
btrfs: test send issue with non-aligned clone operations

Test for an issue in btrfs send where it sent clone operations to user
space with a range (offset + length) that was not aligned with the block
size. This caused the btrfs receive command to send such clone operations
to the ioctl clone API, which would return -EINVAL errors to btrfs receive,
causing the receive command to abort immediately.

This corresponding btrfs linux kernel patch that fixes this issue is at:

https://patchwork.kernel.org/patch/3470401/

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>
tests/btrfs/025 [new file with mode: 0755]
tests/btrfs/025.out [new file with mode: 0644]
tests/btrfs/group