]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: open images in read-only mode for "rbd mirror pool status --verbose" 61170/head
authorIlya Dryomov <idryomov@gmail.com>
Tue, 17 Dec 2024 12:31:09 +0000 (13:31 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 22 Dec 2024 15:46:31 +0000 (16:46 +0100)
commite640c3800c29ead528ec20de5ce70c6c0b933790
tree75c34fa4e59904e021ebbafac79842cc0d59ac9a
parent67fce745e03733f334030aef10f6c90227330dec
rbd: open images in read-only mode for "rbd mirror pool status --verbose"

This is cleaner and makes the command run a bit faster because watches
won't be established.

Fixes: https://tracker.ceph.com/issues/69319
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 650e21dd4930116d1cece4974a81ee46e248cae7)
src/tools/rbd/action/MirrorPool.cc