Project

General

Profile

Subtask #15217

Feature #12901: librbd: zone + zonegroup configuration

Enabling/disabling pool-level mirroring should enable/disable mirroring on images

Added by Jason Dillaman about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

When pool-level mirroring is enabled:
1) set mirroring mode to image
2) loop through all images in the pool and enable mirroring if they have journaling enabled
3) set mirroring mode to pool

When pool-level mirroring is disabled:
1) set mirroring mode to image
2) loop through all images in the the rbd_mirroring directory and disable mirroring if enabled
3) set mirroring mode to none

Associated revisions

Revision 490dc4f3 (diff)
Added by Ricardo Dias about 5 years ago

rbd: rbd-mirroring: Disable image mirroring when pool-level mirroring is disabled

Signed-off-by: Ricardo Dias <>
Fixes: #15217

History

#1 Updated by Ricardo Dias about 5 years ago

  • Assignee set to Ricardo Dias

#2 Updated by Jason Dillaman about 5 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF