]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits: reduce amount of client IO for rbd-mirror stress
authorJason Dillaman <dillaman@redhat.com>
Wed, 5 Oct 2016 01:29:31 +0000 (21:29 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 11 Oct 2016 17:57:13 +0000 (13:57 -0400)
Journal IO is faster now, resulting in OSDs quickly filling up
under the stress test case.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit a6dd6b50d632aa6995a0f4b6fc5e1a1bda23e2a0)

qa/workunits/rbd/rbd_mirror_helpers.sh

index e28c9c988c491f91ae15f8b13d42e10cd318eef4..8c96bd7963f7304aef2f66d717c53edaee326ad7 100755 (executable)
@@ -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} \