From: Ilya Dryomov Date: Wed, 21 Jan 2026 18:41:41 +0000 (+0100) Subject: qa: krbd_blkroset.t: eliminate a race in the open_count test X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=006e47e9ca691deb377fb76f7a23b6feec874865;p=ceph.git qa: krbd_blkroset.t: eliminate a race in the open_count test Even at QD=1, dd may take less than 10 seconds to work its way to the end of a 10M image, producing "No space left on device" error instead of the expected "Operation not permitted" error which is supposed to arise from the device getting marked read-only while opened. Fixes: https://tracker.ceph.com/issues/74513 Signed-off-by: Ilya Dryomov --- diff --git a/qa/rbd/krbd_blkroset.t b/qa/rbd/krbd_blkroset.t index 428636de0156..5925851951ad 100644 --- a/qa/rbd/krbd_blkroset.t +++ b/qa/rbd/krbd_blkroset.t @@ -3,7 +3,7 @@ Setup ===== $ RO_KEY=$(ceph auth get-or-create-key client.ro mon 'profile rbd' mgr 'profile rbd' osd 'profile rbd-read-only') - $ rbd create --size 10 img + $ rbd create --size 1G img $ rbd snap create --no-progress img@snap $ rbd snap protect img@snap $ rbd clone img@snap cloneimg