From: Mykola Golub Date: Mon, 25 Dec 2017 11:22:59 +0000 (+0200) Subject: qa/workunits/rbd: bench-write is part of exclusive option test X-Git-Tag: v13.0.2~665^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=47e38ca1b9f748e2f2ce1c035cd3f982d68eb492;p=ceph.git qa/workunits/rbd: bench-write is part of exclusive option test Signed-off-by: Mykola Golub --- diff --git a/qa/workunits/rbd/rbd-nbd.sh b/qa/workunits/rbd/rbd-nbd.sh index 84bdd217e27c..e9547e92853a 100755 --- a/qa/workunits/rbd/rbd-nbd.sh +++ b/qa/workunits/rbd/rbd-nbd.sh @@ -170,6 +170,8 @@ _sudo dd if=${DATA} of=${DEV} bs=1M oflag=direct expect_false timeout 10 \ rbd bench ${IMAGE} --io-type write --io-size=1024 --io-total=1024 _sudo rbd-nbd unmap ${DEV} +DEV= +rbd bench ${IMAGE} --io-type write --io-size=1024 --io-total=1024 # auto unmap test DEV=`_sudo rbd-nbd map ${POOL}/${IMAGE}` @@ -184,7 +186,4 @@ for i in `seq 10`; do done rbd-nbd list-mapped | expect_false grep "^${PID} *${POOL} *${IMAGE}" -DEV= -rbd bench ${IMAGE} --io-type write --io-size=1024 --io-total=1024 - echo OK