diff options
author | Samuel Just <sjust@redhat.com> | 2023-11-17 05:33:54 +0100 |
---|---|---|
committer | Samuel Just <sjust@redhat.com> | 2024-01-08 19:50:17 +0100 |
commit | 52654551cc6c87ba00cd20587ff3fa3dc8142459 (patch) | |
tree | 62a8e052aeafd6e3c1ef0fc6cbdff6520baf81ab /src/osd/OSDMap.cc | |
parent | crush: add msr rule types and CrushWrapper infrastructure (diff) | |
download | ceph-52654551cc6c87ba00cd20587ff3fa3dc8142459.tar.xz ceph-52654551cc6c87ba00cd20587ff3fa3dc8142459.zip |
osd/OSDMap: minor formatting nit
Signed-off-by: Samuel Just <sjust@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | src/osd/OSDMap.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osd/OSDMap.cc b/src/osd/OSDMap.cc index 209ec6db203..30543107102 100644 --- a/src/osd/OSDMap.cc +++ b/src/osd/OSDMap.cc @@ -1764,9 +1764,8 @@ uint64_t OSDMap::get_features(int entity_type, uint64_t *pmask) const features |= CEPH_FEATURE_CRUSH_V4; if (crush->has_nondefault_tunables5()) features |= CEPH_FEATURE_CRUSH_TUNABLES5; - if (crush->has_incompat_choose_args()) { + if (crush->has_incompat_choose_args()) features |= CEPH_FEATUREMASK_CRUSH_CHOOSE_ARGS; - } mask |= CEPH_FEATURES_CRUSH; if (!pg_upmap.empty() || !pg_upmap_items.empty() || !pg_upmap_primaries.empty()) |