From 43f76e90faaf15c520770c5558a0680030fafb69 Mon Sep 17 00:00:00 2001 From: Johann Lombardi Date: Thu, 25 Sep 2014 16:04:13 +0200 Subject: [PATCH] LU-5668 test: enable ior data consistency check Check file content (-W) is consistent during read phase of IOR and also change task ordering to n+1 ordering for readback (-C). Test-Parameters: testlist=parallel-scale Signed-off-by: Johann Lombardi Change-Id: Ic9b1c3cda48ebd08907a6251f62cf2c845d00476 Reviewed-on: http://review.whamcloud.com/12058 Tested-by: Jenkins Reviewed-by: Li Wei Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin --- lustre/tests/functions.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lustre/tests/functions.sh b/lustre/tests/functions.sh index dfcebba..4dd72bd 100644 --- a/lustre/tests/functions.sh +++ b/lustre/tests/functions.sh @@ -586,11 +586,13 @@ run_ior() { # -t N transferSize -- size of transfer in bytes (e.g.: 8, 4k, 2m, 1g)" # -w writeFile -- write file" # -r readFile -- read existing file" + # -W checkWrite -- check read after write" + # -C reorderTasks -- changes task ordering to n+1 ordering for readback # -T maxTimeDuration -- max time in minutes to run tests" # -k keepFile -- keep testFile(s) on program exit local cmd="$IOR -a $ior_type -b ${ior_blockSize}g -o $testdir/iorData \ - -t $ior_xferSize -v -w -r -i $ior_iteration -T $ior_DURATION -k" + -t $ior_xferSize -v -C -w -r -W -i $ior_iteration -T $ior_DURATION -k" [ $type = "fpp" ] && cmd="$cmd -F" echo "+ $cmd" -- 1.8.3.1