2010-10-15 22:56:35 +08:00
|
|
|
QA output created by 028
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=3221227008
|
|
|
|
Filling base image
|
|
|
|
|
|
|
|
=== IO: pattern 195
|
qemu-iotests: Use zero-based offsets for IO patterns
The io_pattern style functions have the following loop:
for i in `seq 1 $count`; do
echo ... $(( start + i * step )) ...
done
Offsets are 1-based so start=1024, step=512, count=4 yields:
1536, 2048, 2560, 3072
Normally we expect:
1024, 1536, 2048, 2560
Most tests ignore this detail, which means that they perform I/O to a
slightly different range than expected by the test author.
Later on things got less innocent and tests started trying to compensate
for the 1-based indexing. This included negative start values in test
024 and my own attempt with count-1 in test 028!
The end result is that tests that use io_pattern are hard to reason
about and don't work the way you'd expect. It's time to clean this mess
up.
This patch switches io_pattern to 0-based offsets. This requires
adjusting the golden outputs since I/O ranges are now shifted and output
differs.
Verifying these output diffs is easy, however. Each diff hunk moves one
I/O from beyond the end of the pattern range to the beginning.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2011-02-04 20:55:02 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221194240
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221195264
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221196288
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221197312
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221198336
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221199360
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221200384
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221201408
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221202432
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221203456
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221204480
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221205504
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221206528
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221207552
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221208576
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221209600
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221210624
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221211648
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221212672
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221213696
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221214720
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221215744
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221216768
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221217792
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221218816
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221219840
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221220864
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221221888
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221222912
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221223936
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221224960
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221225984
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> No errors were found on the image.
|
|
|
|
Creating test image with backing file
|
|
|
|
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294968832 backing_file='TEST_DIR/t.IMGFMT.base'
|
|
|
|
Filling test image
|
|
|
|
|
|
|
|
=== IO: pattern 196
|
qemu-iotests: Use zero-based offsets for IO patterns
The io_pattern style functions have the following loop:
for i in `seq 1 $count`; do
echo ... $(( start + i * step )) ...
done
Offsets are 1-based so start=1024, step=512, count=4 yields:
1536, 2048, 2560, 3072
Normally we expect:
1024, 1536, 2048, 2560
Most tests ignore this detail, which means that they perform I/O to a
slightly different range than expected by the test author.
Later on things got less innocent and tests started trying to compensate
for the 1-based indexing. This included negative start values in test
024 and my own attempt with count-1 in test 028!
The end result is that tests that use io_pattern are hard to reason
about and don't work the way you'd expect. It's time to clean this mess
up.
This patch switches io_pattern to 0-based offsets. This requires
adjusting the golden outputs since I/O ranges are now shifted and output
differs.
Verifying these output diffs is easy, however. Each diff hunk moves one
I/O from beyond the end of the pattern range to the beginning.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2011-02-04 20:55:02 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221194752
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221195776
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221196800
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221197824
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221198848
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221199872
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221200896
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221201920
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221202944
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221203968
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221204992
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221206016
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221207040
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221208064
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221209088
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221210112
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221211136
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221212160
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221213184
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221214208
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221215232
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221216256
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221217280
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221218304
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221219328
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221220352
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221221376
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221222400
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221223424
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221224448
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221225472
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221226496
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221227520
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221228544
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221229568
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221230592
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221231616
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221232640
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221233664
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221234688
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221235712
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221236736
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221237760
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221238784
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221239808
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221240832
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221241856
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221242880
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221243904
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221244928
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221245952
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221246976
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221248000
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221249024
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221250048
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221251072
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221252096
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221253120
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221254144
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221255168
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221256192
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221257216
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221258240
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> wrote 512/512 bytes at offset 3221259264
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> No errors were found on the image.
|
|
|
|
Reading
|
|
|
|
|
|
|
|
=== IO: pattern 195
|
qemu-iotests: Use zero-based offsets for IO patterns
The io_pattern style functions have the following loop:
for i in `seq 1 $count`; do
echo ... $(( start + i * step )) ...
done
Offsets are 1-based so start=1024, step=512, count=4 yields:
1536, 2048, 2560, 3072
Normally we expect:
1024, 1536, 2048, 2560
Most tests ignore this detail, which means that they perform I/O to a
slightly different range than expected by the test author.
Later on things got less innocent and tests started trying to compensate
for the 1-based indexing. This included negative start values in test
024 and my own attempt with count-1 in test 028!
The end result is that tests that use io_pattern are hard to reason
about and don't work the way you'd expect. It's time to clean this mess
up.
This patch switches io_pattern to 0-based offsets. This requires
adjusting the golden outputs since I/O ranges are now shifted and output
differs.
Verifying these output diffs is easy, however. Each diff hunk moves one
I/O from beyond the end of the pattern range to the beginning.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2011-02-04 20:55:02 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221194240
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221195264
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221196288
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221197312
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221198336
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221199360
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221200384
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221201408
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221202432
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221203456
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221204480
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221205504
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221206528
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221207552
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221208576
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221209600
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221210624
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221211648
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221212672
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221213696
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221214720
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221215744
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221216768
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221217792
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221218816
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221219840
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221220864
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221221888
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221222912
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221223936
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221224960
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221225984
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> === IO: pattern 196
|
qemu-iotests: Use zero-based offsets for IO patterns
The io_pattern style functions have the following loop:
for i in `seq 1 $count`; do
echo ... $(( start + i * step )) ...
done
Offsets are 1-based so start=1024, step=512, count=4 yields:
1536, 2048, 2560, 3072
Normally we expect:
1024, 1536, 2048, 2560
Most tests ignore this detail, which means that they perform I/O to a
slightly different range than expected by the test author.
Later on things got less innocent and tests started trying to compensate
for the 1-based indexing. This included negative start values in test
024 and my own attempt with count-1 in test 028!
The end result is that tests that use io_pattern are hard to reason
about and don't work the way you'd expect. It's time to clean this mess
up.
This patch switches io_pattern to 0-based offsets. This requires
adjusting the golden outputs since I/O ranges are now shifted and output
differs.
Verifying these output diffs is easy, however. Each diff hunk moves one
I/O from beyond the end of the pattern range to the beginning.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2011-02-04 20:55:02 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221194752
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221195776
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221196800
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221197824
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221198848
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221199872
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221200896
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221201920
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221202944
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221203968
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221204992
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221206016
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221207040
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221208064
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221209088
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221210112
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221211136
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221212160
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221213184
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221214208
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221215232
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221216256
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221217280
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221218304
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221219328
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221220352
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221221376
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221222400
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221223424
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221224448
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221225472
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221226496
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221227520
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221228544
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221229568
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221230592
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221231616
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221232640
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221233664
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221234688
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221235712
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221236736
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221237760
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221238784
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221239808
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221240832
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221241856
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221242880
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221243904
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221244928
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221245952
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221246976
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221248000
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221249024
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221250048
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221251072
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221252096
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221253120
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221254144
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221255168
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221256192
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221257216
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221258240
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221259264
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> === IO: pattern 0
|
qemu-iotests: Use zero-based offsets for IO patterns
The io_pattern style functions have the following loop:
for i in `seq 1 $count`; do
echo ... $(( start + i * step )) ...
done
Offsets are 1-based so start=1024, step=512, count=4 yields:
1536, 2048, 2560, 3072
Normally we expect:
1024, 1536, 2048, 2560
Most tests ignore this detail, which means that they perform I/O to a
slightly different range than expected by the test author.
Later on things got less innocent and tests started trying to compensate
for the 1-based indexing. This included negative start values in test
024 and my own attempt with count-1 in test 028!
The end result is that tests that use io_pattern are hard to reason
about and don't work the way you'd expect. It's time to clean this mess
up.
This patch switches io_pattern to 0-based offsets. This requires
adjusting the golden outputs since I/O ranges are now shifted and output
differs.
Verifying these output diffs is easy, however. Each diff hunk moves one
I/O from beyond the end of the pattern range to the beginning.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2011-02-04 20:55:02 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221227008
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221228032
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221229056
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221230080
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221231104
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221232128
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221233152
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221234176
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221235200
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221236224
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221237248
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221238272
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221239296
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221240320
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221241344
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221242368
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221243392
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221244416
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221245440
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221246464
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221247488
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221248512
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221249536
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221250560
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221251584
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221252608
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221253632
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221254656
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221255680
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221256704
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221257728
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> read 512/512 bytes at offset 3221258752
|
2012-05-08 22:51:51 +08:00
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2010-10-15 22:56:35 +08:00
|
|
|
qemu-io> No errors were found on the image.
|
2012-02-15 22:03:25 +08:00
|
|
|
No errors were found on the image.
|
2010-10-15 22:56:35 +08:00
|
|
|
*** done
|