[PATCH lkp-tests 2/2] tests/iozone: add specified parameter for iozone tool

[why] need to test write, rewrite, read, reread, random write, random read for 4g size and different block_size. Signed-off-by: Lu Kaiyi <2392863668@qq.com> --- tests/iozone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/iozone b/tests/iozone index 3095ce80..f0c2878c 100755 --- a/tests/iozone +++ b/tests/iozone @@ -7,7 +7,7 @@ for mnt in $mount_points do - cmd="iozone -a -f $mnt/iozonetest" + cmd="iozone -r $block_size -s 4g -i 0 -i 1 -i 2 -f $mnt/iozonetest" log_echo "$cmd &" $cmd > $TMP/iozone-$i & i=$((i+1)) -- 2.23.0

NAK. Please do general changes that's good for everyone. Especially, keep existing users happy if possible. Thanks, Fengguang On Thu, Oct 22, 2020 at 03:49:13PM +0800, Lu Kaiyi wrote:
[why] need to test write, rewrite, read, reread, random write, random read for 4g size and different block_size.
Signed-off-by: Lu Kaiyi <2392863668@qq.com> --- tests/iozone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/iozone b/tests/iozone index 3095ce80..f0c2878c 100755 --- a/tests/iozone +++ b/tests/iozone @@ -7,7 +7,7 @@
for mnt in $mount_points do - cmd="iozone -a -f $mnt/iozonetest" + cmd="iozone -r $block_size -s 4g -i 0 -i 1 -i 2 -f $mnt/iozonetest" log_echo "$cmd &" $cmd > $TMP/iozone-$i & i=$((i+1)) -- 2.23.0
participants (2)
-
Lu Kaiyi
-
Wu Fengguang