mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
qa/workunits/rbd: bench-write is part of exclusive option test
Signed-off-by: Mykola Golub <mgolub@suse.com>
This commit is contained in:
parent
2113ebe02d
commit
47e38ca1b9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user