Skip to content

Commit

Permalink
librbd: migrating feature
Browse files Browse the repository at this point in the history
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
  • Loading branch information
trociny committed Nov 9, 2017
1 parent c8c7239 commit ab8a19d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/include/rbd/features.h
Expand Up @@ -9,6 +9,7 @@
#define RBD_FEATURE_DEEP_FLATTEN (1ULL<<5)
#define RBD_FEATURE_JOURNALING (1ULL<<6)
#define RBD_FEATURE_DATA_POOL (1ULL<<7)
#define RBD_FEATURE_MIGRATING (1ULL<<8)

#define RBD_FEATURES_DEFAULT (RBD_FEATURE_LAYERING | \
RBD_FEATURE_EXCLUSIVE_LOCK | \
Expand All @@ -24,6 +25,7 @@
#define RBD_FEATURE_NAME_DEEP_FLATTEN "deep-flatten"
#define RBD_FEATURE_NAME_JOURNALING "journaling"
#define RBD_FEATURE_NAME_DATA_POOL "data-pool"
#define RBD_FEATURE_NAME_MIGRATING "migrating"

/// features that make an image inaccessible for read or write by
/// clients that don't understand them
Expand All @@ -37,7 +39,8 @@
RBD_FEATURE_OBJECT_MAP | \
RBD_FEATURE_FAST_DIFF | \
RBD_FEATURE_DEEP_FLATTEN | \
RBD_FEATURE_JOURNALING)
RBD_FEATURE_JOURNALING | \
RBD_FEATURE_MIGRATING)

#define RBD_FEATURES_ALL (RBD_FEATURE_LAYERING | \
RBD_FEATURE_STRIPINGV2 | \
Expand Down

0 comments on commit ab8a19d

Please sign in to comment.