mirror of
https://github.com/ceph/ceph
synced 2025-01-31 15:32:38 +00:00
Merge pull request #12682 from renhwztetecs/renhw-wip-mon-osdmonitor-sortbitwise
mon/OSDMonitor: fixup sortbitwise flag warning Reviewed-by: Sage Weil <sage@redhat.com> Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
3323230d51
@ -3086,7 +3086,7 @@ void OSDMonitor::get_health(list<pair<health_status_t,string> >& summary,
|
||||
|
||||
// Not using 'sortbitwise' and should be?
|
||||
if (!osdmap.test_flag(CEPH_OSDMAP_SORTBITWISE) &&
|
||||
(osdmap.get_features(CEPH_ENTITY_TYPE_OSD, NULL) &
|
||||
(osdmap.get_up_osd_features() &
|
||||
CEPH_FEATURE_OSD_BITWISE_HOBJ_SORT)) {
|
||||
ostringstream ss;
|
||||
ss << "no legacy OSD present but 'sortbitwise' flag is not set";
|
||||
|
Loading…
Reference in New Issue
Block a user