]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/workunits/rbd: don't use deprecated syntax
authorMykola Golub <mgolub@mirantis.com>
Sun, 19 Mar 2017 11:58:29 +0000 (12:58 +0100)
committerMykola Golub <mgolub@mirantis.com>
Thu, 20 Apr 2017 12:29:14 +0000 (14:29 +0200)
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
qa/workunits/rbd/rbd_mirror_helpers.sh

index 9620d2ef829597945d9e5d5da8b3b29140254619..98beb7891ec13da6abdcfe91747b5b3463aa511d 100755 (executable)
@@ -710,7 +710,7 @@ write_image()
 
     test -n "${size}" || size=4096
 
-    rbd --cluster ${cluster} -p ${pool} bench-write ${image} \
+    rbd --cluster ${cluster} -p ${pool} bench ${image} --io-type write \
        --io-size ${size} --io-threads 1 --io-total $((size * count)) \
        --io-pattern rand
 }