From 42274d3018639a2f8f1412dffbc71ad8dd97dc01 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Tue, 28 Jan 2020 20:59:51 -0500 Subject: [PATCH] cls/rbd: new temporary MIRROR_IMAGE_STATE_CREATING state 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 --- src/cls/rbd/cls_rbd_types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cls/rbd/cls_rbd_types.h b/src/cls/rbd/cls_rbd_types.h index 6b5dd0c6883..7f14f747273 100644 --- a/src/cls/rbd/cls_rbd_types.h +++ b/src/cls/rbd/cls_rbd_types.h @@ -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 { -- 2.39.5