Files
apfstests/tests/btrfs/183.out
T
Filipe Manana 53fc54907b btrfs: test for corruption when reading compressed files
Regression test for read corruption of compressed and shared extents
after punching holes into a file. The same extent is shared by the
same file in consecutive ranges (without other extents in between).

This is motivated by a bug recently found in btrfs for which there
is a patch for the linux kernel titled:

  "Btrfs: fix corruption reading shared and compressed extents after hole
   punching"

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2019-02-16 18:24:43 +08:00

22 lines
968 B
Plaintext

QA output created by 183
wrote 393216/393216 bytes at offset 0
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 4096/4096 bytes at offset 0
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 4096/4096 bytes at offset 131072
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 4096/4096 bytes at offset 262144
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
File digest after initial creation:
5a0888d80d7ab1fd31c229f83a3bbcc8 SCRATCH_MNT/foobar
linked 131072/131072 bytes at offset 131072
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
linked 131072/131072 bytes at offset 262144
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
File digest after reflinking:
5a0888d80d7ab1fd31c229f83a3bbcc8 SCRATCH_MNT/foobar
File digest after punching holes:
5a0888d80d7ab1fd31c229f83a3bbcc8 SCRATCH_MNT/foobar
File digest after dropping page cache:
5a0888d80d7ab1fd31c229f83a3bbcc8 SCRATCH_MNT/foobar