]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits: reduce amount of client IO for rbd-mirror stress 11326/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 5 Oct 2016 01:29:31 +0000 (21:29 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 5 Oct 2016 01:31:54 +0000 (21:31 -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>
qa/workunits/rbd/rbd_mirror_helpers.sh

index 1088ae24b0d01e1f0ff91f4ffd832858b71d5538..44377f73e347d71a47cac75cc037263d93bc8ba5 100755 (executable)
@@ -671,7 +671,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} \