Project

General

Profile

Subtask #14419

Feature #11766: rbd-mirror: basic structure

RBD mirroring settings should be moved to new pool object

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

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
01/19/2016
Due date:
% Done:

0%

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

Description

The current 'rbd_pool_settings' object which holds whether or not mirroring is enabled for the pool (and its peers) should be renamed to 'rbd_mirroring' and should be expanded to include a directory if which images are mirrored within the pool and a state mapping to remote peers (remote ID, whether a deletion has propagated, etc).

Associated revisions

Revision da9b36a7 (diff)
Added by Josh Durgin about 3 years ago

librbd: rename rbd_pool_settings object to rbd_mirroring

We'll use this object only for mirroring-related purposes, not generic
settings on a pool.

Refs: #14419
Signed-off-by: Josh Durgin <>

Revision 28e2d1bc (diff)
Added by Josh Durgin about 3 years ago

cls_rbd: add methods for keeping track of mirrored images

These will track whether local images should be mirrored, and map them
to a unique global id. There's a state field for safely disabling
mirroring while operating on multiple objects.

Fixes: #14419
Signed-off-by: Josh Durgin <>

History

#1 Updated by Josh Durgin about 3 years ago

  • Status changed from New to In Progress
  • Assignee set to Josh Durgin

#2 Updated by Josh Durgin about 3 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF