mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
dd0bcdadfe
This test case, btrfs/112, tests that some clone operations that have a range covering inline extents fail with either -EOPNOTSUPP or -EINVAL. These cases were unsupported on btrfs because they used to lead to file corruptions and were not trivial to implement. But there's now a patchset that adds support for them, and the relevant patch of that patchset has the following subject: "Btrfs: implement full reflink support for inline extents" So just remove these tests from test case btrfs/112, since this test case is about testing only the unsupported reflink operations. A new test case that verifies that these cases now work, as long as some other new cases, will follow in another patch. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
210 lines
6.5 KiB
Plaintext
210 lines
6.5 KiB
Plaintext
QA output created by 112
|
|
|
|
Testing without compression and without the no-holes feature...
|
|
|
|
wrote 50/50 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 16384/16384 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
clone failed: Invalid argument
|
|
File foo data after clone operation:
|
|
0000000 aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
|
|
*
|
|
0040000
|
|
wrote 100/100 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 12288/12288 bytes at offset 4096
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
clone failed: Invalid argument
|
|
File foo2 data after clone operation:
|
|
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
*
|
|
0010000 dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd
|
|
*
|
|
0040000
|
|
wrote 90/90 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 40/40 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
File foo4 data after clone operation:
|
|
0000000 bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb
|
|
*
|
|
0000060 bb bb
|
|
0000062
|
|
wrote 90/90 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 60/60 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
clone failed: Invalid argument
|
|
File foo5 data after clone operation:
|
|
0000000 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03
|
|
*
|
|
0000060 03 03 03 03 03 03 03 03 03 03 03 03
|
|
0000074
|
|
clone failed: Invalid argument
|
|
File foo6 data after clone operation:
|
|
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
*
|
|
0040000
|
|
File foo7 data after clone operation:
|
|
0000000 bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb
|
|
*
|
|
0000060 bb bb
|
|
0000062
|
|
|
|
Testing with compression and without the no-holes feature...
|
|
|
|
wrote 50/50 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 16384/16384 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
clone failed: Invalid argument
|
|
File foo data after clone operation:
|
|
0000000 aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
|
|
*
|
|
0040000
|
|
wrote 100/100 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 12288/12288 bytes at offset 4096
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
clone failed: Invalid argument
|
|
File foo2 data after clone operation:
|
|
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
*
|
|
0010000 dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd
|
|
*
|
|
0040000
|
|
wrote 90/90 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 40/40 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
File foo4 data after clone operation:
|
|
0000000 bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb
|
|
*
|
|
0000060 bb bb
|
|
0000062
|
|
wrote 90/90 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 60/60 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
clone failed: Invalid argument
|
|
File foo5 data after clone operation:
|
|
0000000 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03
|
|
*
|
|
0000060 03 03 03 03 03 03 03 03 03 03 03 03
|
|
0000074
|
|
clone failed: Invalid argument
|
|
File foo6 data after clone operation:
|
|
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
*
|
|
0040000
|
|
File foo7 data after clone operation:
|
|
0000000 bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb
|
|
*
|
|
0000060 bb bb
|
|
0000062
|
|
|
|
Testing without compression and with the no-holes feature...
|
|
|
|
wrote 50/50 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 16384/16384 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
clone failed: Invalid argument
|
|
File foo data after clone operation:
|
|
0000000 aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
|
|
*
|
|
0040000
|
|
wrote 100/100 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 12288/12288 bytes at offset 4096
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
clone failed: Invalid argument
|
|
File foo2 data after clone operation:
|
|
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
*
|
|
0010000 dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd
|
|
*
|
|
0040000
|
|
wrote 90/90 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 40/40 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
File foo4 data after clone operation:
|
|
0000000 bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb
|
|
*
|
|
0000060 bb bb
|
|
0000062
|
|
wrote 90/90 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 60/60 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
clone failed: Invalid argument
|
|
File foo5 data after clone operation:
|
|
0000000 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03
|
|
*
|
|
0000060 03 03 03 03 03 03 03 03 03 03 03 03
|
|
0000074
|
|
clone failed: Invalid argument
|
|
File foo6 data after clone operation:
|
|
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
*
|
|
0040000
|
|
File foo7 data after clone operation:
|
|
0000000 bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb
|
|
*
|
|
0000060 bb bb
|
|
0000062
|
|
|
|
Testing with compression and with the no-holes feature...
|
|
|
|
wrote 50/50 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 16384/16384 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
clone failed: Invalid argument
|
|
File foo data after clone operation:
|
|
0000000 aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
|
|
*
|
|
0040000
|
|
wrote 100/100 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 12288/12288 bytes at offset 4096
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
clone failed: Invalid argument
|
|
File foo2 data after clone operation:
|
|
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
*
|
|
0010000 dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd
|
|
*
|
|
0040000
|
|
wrote 90/90 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 40/40 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
File foo4 data after clone operation:
|
|
0000000 bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb
|
|
*
|
|
0000060 bb bb
|
|
0000062
|
|
wrote 90/90 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 60/60 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
clone failed: Invalid argument
|
|
File foo5 data after clone operation:
|
|
0000000 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03
|
|
*
|
|
0000060 03 03 03 03 03 03 03 03 03 03 03 03
|
|
0000074
|
|
clone failed: Invalid argument
|
|
File foo6 data after clone operation:
|
|
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
*
|
|
0040000
|
|
File foo7 data after clone operation:
|
|
0000000 bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb
|
|
*
|
|
0000060 bb bb
|
|
0000062
|