]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cls/rbd: new temporary MIRROR_IMAGE_STATE_CREATING state
authorJason Dillaman <dillaman@redhat.com>
Wed, 29 Jan 2020 01:59:51 +0000 (20:59 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 30 Jan 2020 15:26:36 +0000 (10:26 -0500)
This state will be used to track the creation of a snapshot-based
mirror image from a remote primary image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/cls/rbd/cls_rbd_types.h

index 6b5dd0c68835a4f51a8f75e50d8552d2f56d87ff..7f14f747273837fc3ea575f6cff109e6a73da3bc 100644 (file)
@@ -140,6 +140,7 @@ enum MirrorImageState {
   MIRROR_IMAGE_STATE_DISABLING = 0,
   MIRROR_IMAGE_STATE_ENABLED   = 1,
   MIRROR_IMAGE_STATE_DISABLED  = 2,
+  MIRROR_IMAGE_STATE_CREATING  = 3,
 };
 
 struct MirrorImage {