diff options
author | Yuan Lu <yuan.y.lu@intel.com> | 2020-06-09 18:36:11 +0200 |
---|---|---|
committer | lixiaoy1 <xiaoyan.li@intel.com> | 2020-08-03 11:37:13 +0200 |
commit | 7e0d1a97c60b43c4de27ac89b53b9eb83d0379dd (patch) | |
tree | 2c4af9f0d9c85bf723b8e16679a6fe51f5d81ac6 /src/librbd/Features.cc | |
parent | Merge pull request #36407 from tchaikov/wip-mgr-autopep8 (diff) | |
download | ceph-7e0d1a97c60b43c4de27ac89b53b9eb83d0379dd.tar.xz ceph-7e0d1a97c60b43c4de27ac89b53b9eb83d0379dd.zip |
librbd: add IMAGE_CACHE feature
Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
Diffstat (limited to '')
-rw-r--r-- | src/librbd/Features.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librbd/Features.cc b/src/librbd/Features.cc index 1531a2eab4d..9da5b1dc42d 100644 --- a/src/librbd/Features.cc +++ b/src/librbd/Features.cc @@ -22,8 +22,9 @@ static const std::map<std::string, uint64_t> RBD_FEATURE_MAP = { {RBD_FEATURE_NAME_OPERATIONS, RBD_FEATURE_OPERATIONS}, {RBD_FEATURE_NAME_MIGRATING, RBD_FEATURE_MIGRATING}, {RBD_FEATURE_NAME_NON_PRIMARY, RBD_FEATURE_NON_PRIMARY}, + {RBD_FEATURE_NAME_DIRTY_CACHE, RBD_FEATURE_DIRTY_CACHE}, }; -static_assert((RBD_FEATURE_NON_PRIMARY << 1) > RBD_FEATURES_ALL, +static_assert((RBD_FEATURE_DIRTY_CACHE << 1) > RBD_FEATURES_ALL, "new RBD feature added"); |