Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2396582

Summary: [RFE] make mirror group enable asynchronous
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ilya Dryomov <idryomov>
Component: RBD-MirrorAssignee: Ram Raja <rraja>
Status: CLOSED ERRATA QA Contact: Sunil Angadi <sangadi>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 9.0CC: ceph-eng-bugs, cephqe-warriors, sangadi
Target Milestone: ---Keywords: FutureFeature
Target Release: 9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-20.1.0-16 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-01-29 06:59:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ilya Dryomov 2025-09-18 20:48:29 UTC
Notable enhancements have been made to the mirror group_enable API:

- Previously, member images were enabled for mirroring synchronously
  and one after another. They are now enabled asynchronously and
  concurrently, making the time to enable a group independent of the
  number of member images it contains.

- Intermediate steps involved in enabling an image, such as fetching
  mirror peers, acquiring an exclusive lock, creating a mirror snapshot,
  among other operations, run asynchronously but are synchronized
  across all the group member images using C_Gather callbacks. An
  asynchronous operation on an image proceeds to the next step only
  after that operation completes for all member images. This allows for
  easier cleanup of member images and the group when an intermediate
  operation fails for one or more member images.

- The exclusive locks on member images are now held for a shorter
  duration. All member image locks are acquired just before taking
  image snapshots and released after retrieving the snapshot IDs.
  Previously, the locks were obtained earlier in the sequence of
  operations, even for steps that did not need them, and were not
  explicitly released.

Comment 4 errata-xmlrpc 2026-01-29 06:59:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 9.0 Security and Enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2026:1536