From: Jason Dillaman Date: Wed, 5 Oct 2016 01:29:31 +0000 (-0400) Subject: qa/workunits: reduce amount of client IO for rbd-mirror stress X-Git-Tag: v10.2.4~61^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=74873322da011d0e6221c90ff39d137de80720ce;p=ceph.git qa/workunits: reduce amount of client IO for rbd-mirror stress Journal IO is faster now, resulting in OSDs quickly filling up under the stress test case. Signed-off-by: Jason Dillaman (cherry picked from commit a6dd6b50d632aa6995a0f4b6fc5e1a1bda23e2a0) --- diff --git a/qa/workunits/rbd/rbd_mirror_helpers.sh b/qa/workunits/rbd/rbd_mirror_helpers.sh index e28c9c988c4..8c96bd7963f 100755 --- a/qa/workunits/rbd/rbd_mirror_helpers.sh +++ b/qa/workunits/rbd/rbd_mirror_helpers.sh @@ -634,7 +634,7 @@ stress_write_image() local cluster=$1 local pool=$2 local image=$3 - local duration=$(awk 'BEGIN {srand(); print int(35 * rand()) + 15}') + local duration=$(awk 'BEGIN {srand(); print int(10 * rand()) + 5}') timeout ${duration}s ceph_test_rbd_mirror_random_write \ --cluster ${cluster} ${pool} ${image} \