From 8fc1024ceec96d2ec2d2a0296220075e06a6c756 Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Thu, 1 Oct 2009 14:29:59 -0300 Subject: 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 Signed-off-by: Christoph Hellwig --- tests/qemu-iotests/013.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/qemu-iotests/013.out') diff --git a/tests/qemu-iotests/013.out b/tests/qemu-iotests/013.out index 01d306ddfa..4072e8d8f5 100644 --- a/tests/qemu-iotests/013.out +++ b/tests/qemu-iotests/013.out @@ -1,5 +1,5 @@ QA output created by 013 -Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944 +Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944 cluster_size=4096 Testing empty image At offset 0: -- cgit v1.2.3