]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: display correct mirror state when creating 62940/head
authorN Balachandran <nithya.balachandran@ibm.com>
Mon, 21 Apr 2025 11:34:08 +0000 (17:04 +0530)
committerN Balachandran <nithya.balachandran@ibm.com>
Thu, 24 Apr 2025 04:17:06 +0000 (09:47 +0530)
commit14213e37140bce47acd35fae10fdf8c8e7a78ad7
tree5255bdfcf8e4e28b0b67ac910f0180daf675321b
parent6f0aa19f125fac8d3ad9ed7e56d9b18425ada4fb
rbd: display correct mirror state when creating

The mirror image state is set to MIRROR_IMAGE_STATE_CREATING
when the image is first created on the secondary, but was displayed
as "unknown" by the rbd info command. This has been fixed.

Fixes: https://tracker.ceph.com/issues/70963
Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
(cherry picked from commit f2e35646721ed3076e3da54124f8d783c456b2dc)
src/include/rbd/librbd.h
src/pybind/rbd/c_rbd.pxd
src/pybind/rbd/mock_rbd.pxi
src/pybind/rbd/rbd.pyx
src/tools/rbd/Utils.cc