]> 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" 61169/head
authorIlya Dryomov <idryomov@gmail.com>
Tue, 17 Dec 2024 12:31:09 +0000 (13:31 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 23 Dec 2024 09:38:54 +0000 (10:38 +0100)
commitf27c00ce31f6809e352dcc8409be36ea683eec4a
treee2758a0e423db14c1058e40360d0d347c1f9519b
parenta1b54e03f5fc2ff00aee793b5fcc21e1125cc1be
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