Files
apfstests/tests/btrfs/094.out
T
Filipe Manana 917efe2a18 btrfs: test for send with compressed file extents
Test that an incremental send issues valid clone operations for
compressed file extents.

For some compressed extents, namely those referred by a file extent item
with a non-zero data offset, btrfs could issue a clone operation in the
send stream with an offset and length pair that were not entirely
contained in the source file's range, causing the receiving side to get
-EINVAL errors from the clone ioctl when attempting to perform the clone
operations.

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

  Btrfs: incremental send, fix clone operations for compressed extents

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2015-05-14 20:27:53 +10:00

16 lines
752 B
Plaintext

QA output created by 094
wrote 131072/131072 bytes at offset 65536
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 114688/114688 bytes at offset 65536
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 12288/12288 bytes at offset 184320
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
File digests in the original filesystem:
f98243c603750f7daf225b1745b31516 SCRATCH_MNT/mysnap1/foo
f98243c603750f7daf225b1745b31516 SCRATCH_MNT/mysnap2/foo
7fccf6175f5c68504b408719a21db99f SCRATCH_MNT/mysnap2/bar
File digests in the new filesystem:
f98243c603750f7daf225b1745b31516 SCRATCH_MNT/mysnap1/foo
f98243c603750f7daf225b1745b31516 SCRATCH_MNT/mysnap2/foo
7fccf6175f5c68504b408719a21db99f SCRATCH_MNT/mysnap2/bar