OSDN Git Service

qemu-iotests: align test requests according to cluster size
authorKevin Wolf <kwolf@redhat.com>
Thu, 1 Oct 2009 17:29:59 +0000 (14:29 -0300)
committerKevin Wolf <kwolf@redhat.com>
Wed, 22 Feb 2012 15:17:02 +0000 (16:17 +0100)
commit8fc1024ceec96d2ec2d2a0296220075e06a6c756
tree36933fcfcb4467e39a8122e890189c44d0b739dc
parent3b5fe6e60c4e2d4b47425ba967a48cd216efd6f8
qemu-iotests: align test requests according to cluster size

Change the io_test and io_test2 functions to take the cluster size of the image
and the number of test requests to issue. Tests are changed to specify a
cluster size (usually 4k), but expected test results stay the same for now
(apart from qemu-img printing the cluster size now).

Based on a patch written by Christoph Hellwig.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
tests/qemu-iotests/013
tests/qemu-iotests/013.out
tests/qemu-iotests/014
tests/qemu-iotests/014.out
tests/qemu-iotests/019
tests/qemu-iotests/019.out
tests/qemu-iotests/022
tests/qemu-iotests/022.out
tests/qemu-iotests/common.pattern
tests/qemu-iotests/common.rc