]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: read corruption of compressed extents
authorFilipe Manana <fdmanana@suse.com>
Mon, 21 Sep 2015 03:06:18 +0000 (13:06 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 21 Sep 2015 03:06:18 +0000 (13:06 +1000)
commit694db0c050d69b6d43065b7fbccb2fe86f2d689a
tree0437a80eb9b0de9b9e6e9161d6197907cb502d8b
parentda82741228c7efaedae2e027efc54b1892800fe1
btrfs: read corruption of compressed extents

Regression test for file read corruption when using compressed extents
that are shared by multiple consecutive ranges of the same file.

The btrfs issue is fixed by the linux kernel patch titled:
"Btrfs: fix read corruption of compressed and shared extents"

Without the corresponding fix the test fails because the second time it
reads the test files it gets different data (some pages are incorrectly
filled with zeroes) from the data it wrote before doing a clean ummount.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/103 [new file with mode: 0755]
tests/btrfs/103.out [new file with mode: 0644]
tests/btrfs/group