mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
7f0a867ce6
Regression test for file read corruption when using compressed extents
that represent file ranges with a length that is a multiple of 16 pages
and that are shared by multiple consecutive ranges of the same file.
This is similar to the test added in commit 694db0c050 ("btrfs: read
corruption of compressed extents"), but tests the special case where the
extent's uncompressed length is a multiple of 16 pages. The first btrfs
fix, tested by the test added in the commit mentioned before, failed to
address this special case.
This btrfs issue is fixed by the linux kernel patch titled:
"Btrfs: update fix for read corruption of compressed and shared extents"
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
18 lines
592 B
Plaintext
18 lines
592 B
Plaintext
QA output created by 106
|
|
|
|
Testing with zlib compression...
|
|
wrote 65536/65536 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
File digest before unmount:
|
|
be68df46e3cf60b559376a35f9fbb05d SCRATCH_MNT/foo
|
|
File digest after remount:
|
|
be68df46e3cf60b559376a35f9fbb05d SCRATCH_MNT/foo
|
|
|
|
Testing with lzo compression...
|
|
wrote 65536/65536 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
File digest before unmount:
|
|
be68df46e3cf60b559376a35f9fbb05d SCRATCH_MNT/foo
|
|
File digest after remount:
|
|
be68df46e3cf60b559376a35f9fbb05d SCRATCH_MNT/foo
|