summaryrefslogtreecommitdiff
path: root/tests/btrfs/103.out
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2015-09-21 13:06:18 +1000
committerDave Chinner <david@fromorbit.com>2015-09-21 13:06:18 +1000
commit694db0c050d69b6d43065b7fbccb2fe86f2d689a (patch)
tree0437a80eb9b0de9b9e6e9161d6197907cb502d8b /tests/btrfs/103.out
parentda82741228c7efaedae2e027efc54b1892800fe1 (diff)
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>
Diffstat (limited to 'tests/btrfs/103.out')
-rw-r--r--tests/btrfs/103.out41
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/btrfs/103.out b/tests/btrfs/103.out
new file mode 100644
index 00000000..f62de2f5
--- /dev/null
+++ b/tests/btrfs/103.out
@@ -0,0 +1,41 @@
+QA output created by 103
+
+Testing with zlib compression...
+wrote 4096/4096 bytes at offset 0
+XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+wrote 8192/8192 bytes at offset 4096
+XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+wrote 4096/4096 bytes at offset 12288
+XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+wrote 4096/4096 bytes at offset 8192
+XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+wrote 8192/8192 bytes at offset 12288
+XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+wrote 4096/4096 bytes at offset 20480
+XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+File digests before unmounting filesystem:
+4b985a45790261a706c3ddbf22c5f765 SCRATCH_MNT/foo
+fd331e6b7a9ab105f48f71b53162d5b5 SCRATCH_MNT/bar
+File digests after mounting filesystem again:
+4b985a45790261a706c3ddbf22c5f765 SCRATCH_MNT/foo
+fd331e6b7a9ab105f48f71b53162d5b5 SCRATCH_MNT/bar
+
+Testing with lzo compression...
+wrote 4096/4096 bytes at offset 0
+XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+wrote 8192/8192 bytes at offset 4096
+XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+wrote 4096/4096 bytes at offset 12288
+XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+wrote 4096/4096 bytes at offset 8192
+XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+wrote 8192/8192 bytes at offset 12288
+XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+wrote 4096/4096 bytes at offset 20480
+XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+File digests before unmounting filesystem:
+4b985a45790261a706c3ddbf22c5f765 SCRATCH_MNT/foo
+fd331e6b7a9ab105f48f71b53162d5b5 SCRATCH_MNT/bar
+File digests after mounting filesystem again:
+4b985a45790261a706c3ddbf22c5f765 SCRATCH_MNT/foo
+fd331e6b7a9ab105f48f71b53162d5b5 SCRATCH_MNT/bar