]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: add undo code, exclusive locking and quiescing
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Mon, 26 Feb 2024 08:53:28 +0000 (14:23 +0530)
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Wed, 30 Jul 2025 16:56:23 +0000 (22:26 +0530)
commit2035ee2a25ff082f9658852a09b4055ff217b2dd
treef482469890f268326d714eaa6a100bb535bf940e
parent5ab6f29b59c39476489e062bb865b52112d4e0a6
rbd-mirror: add undo code, exclusive locking and quiescing

* add essential logic to undo partially succeeded API's like, group promote,
  group demote, group enable, group disable, group image add and
  group image remove
* add exclusive locking and quiescing with-in all the required group API's
* adress code duplication and optimization with in the group API's

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
16 files changed:
src/include/rbd/librbd.h
src/include/rbd/librbd.hpp
src/librbd/api/Group.cc
src/librbd/api/Group.h
src/librbd/api/Migration.cc
src/librbd/api/Mirror.cc
src/librbd/api/Mirror.h
src/librbd/librbd.cc
src/pybind/rbd/c_rbd.pxd
src/pybind/rbd/mock_rbd.pxi
src/pybind/rbd/rbd.pyx
src/test/librbd/test_Groups.cc
src/test/librbd/test_Migration.cc
src/tools/rbd/action/Group.cc
src/tools/rbd/action/MirrorGroup.cc
src/tools/rbd_mirror/GroupReplayer.cc