mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
466f161d22
New test to test basic mixed fallocate + read & write, includes a couple regression tests for bugs that ext4 hit. Uses xfs_io to generate fallocate calls, so requires git xfsprogs and very recent glibc at this point. Ext4 folks, this is hopefully a reasonable example of how to add a new test. :) Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by: Christoph Hellwig <hch@lst.de>
42 lines
1.8 KiB
Plaintext
42 lines
1.8 KiB
Plaintext
QA output created by 214
|
|
=== falloc & read ===
|
|
00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
|
|
*
|
|
read 4096/4096 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
=== falloc, write beginning, read ===
|
|
wrote 1/1 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
00000000: cd 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
|
|
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
|
|
*
|
|
read 512/512 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
=== falloc, write middle, read ===
|
|
wrote 1/1 bytes at offset 256
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
|
|
*
|
|
00000100: cd 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
|
|
00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
|
|
*
|
|
read 512/512 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
=== falloc, write end, read ===
|
|
wrote 1/1 bytes at offset 511
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
|
|
*
|
|
000001f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 cd ................
|
|
read 512/512 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
=== falloc, write, sync, truncate, read ===
|
|
wrote 65536/65536 bytes at offset 73728
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
|
|
*
|
|
00012000: aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa ................
|
|
*
|
|
read 90112/90112 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|