diff options
author | Kevin Wolf <kwolf@redhat.com> | 2009-10-01 14:29:59 -0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-02-22 16:17:02 +0100 |
commit | 8fc1024ceec96d2ec2d2a0296220075e06a6c756 (patch) | |
tree | 36933fcfcb4467e39a8122e890189c44d0b739dc /tests/qemu-iotests/019 | |
parent | 3b5fe6e60c4e2d4b47425ba967a48cd216efd6f8 (diff) | |
download | hqemu-8fc1024ceec96d2ec2d2a0296220075e06a6c756.zip hqemu-8fc1024ceec96d2ec2d2a0296220075e06a6c756.tar.gz |
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>
Diffstat (limited to 'tests/qemu-iotests/019')
-rwxr-xr-x | tests/qemu-iotests/019 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/019 b/tests/qemu-iotests/019 index 0c84d2f..c3bf950 100755 --- a/tests/qemu-iotests/019 +++ b/tests/qemu-iotests/019 @@ -48,6 +48,7 @@ _supported_fmt qcow qcow2 vmdk _supported_os Linux TEST_OFFSETS="0 4294967296" +CLUSTER_SIZE=65536 _make_test_img 6G |