]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: krbd_blkroset.t: eliminate a race in the open_count test 67048/head
authorIlya Dryomov <idryomov@gmail.com>
Wed, 21 Jan 2026 18:41:41 +0000 (19:41 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 22 Jan 2026 15:41:14 +0000 (16:41 +0100)
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 <idryomov@gmail.com>
qa/rbd/krbd_blkroset.t

index 428636de01561a6e97e5437356ed6da8fe2e15a5..5925851951adfd0462694ad7a1773433d1f878cf 100644 (file)
@@ -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