]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: remove config option to disable no sortbitwise warning 11498/head
authorSage Weil <sage@redhat.com>
Tue, 1 Nov 2016 16:09:57 +0000 (12:09 -0400)
committerSage Weil <sage@redhat.com>
Tue, 1 Nov 2016 16:09:57 +0000 (12:09 -0400)
We'll require this soon.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h
src/mon/OSDMonitor.cc

index 4b1fa42d3cb633e83a00c9f21abf9e57021d3b8f..c96dff55a1b97f95ddef1cb30e7174a108ae7bd4 100644 (file)
@@ -280,7 +280,6 @@ OPTION(mon_crush_min_required_version, OPT_STR, "firefly")
 OPTION(mon_warn_on_crush_straw_calc_version_zero, OPT_BOOL, true) // warn if crush straw_calc_version==0
 OPTION(mon_warn_on_osd_down_out_interval_zero, OPT_BOOL, true) // warn if 'mon_osd_down_out_interval == 0'
 OPTION(mon_warn_on_cache_pools_without_hit_sets, OPT_BOOL, true)
-OPTION(mon_warn_on_no_sortbitwise, OPT_BOOL, true)  // warn when sortbitwise not set
 OPTION(mon_min_osdmap_epochs, OPT_INT, 500)
 OPTION(mon_max_pgmap_epochs, OPT_INT, 500)
 OPTION(mon_max_log_epochs, OPT_INT, 500)
index d3cd044391ddf9c8d220d5c0846429117e015ad3..819687e46b8ad06d3ba4d60dab03a1a57c41be80 100644 (file)
@@ -3058,8 +3058,7 @@ void OSDMonitor::get_health(list<pair<health_status_t,string> >& summary,
     }
 
     // Not using 'sortbitwise' and should be?
-    if (g_conf->mon_warn_on_no_sortbitwise &&
-       !osdmap.test_flag(CEPH_OSDMAP_SORTBITWISE) &&
+    if (!osdmap.test_flag(CEPH_OSDMAP_SORTBITWISE) &&
        (osdmap.get_features(CEPH_ENTITY_TYPE_OSD, NULL) &
         CEPH_FEATURE_OSD_BITWISE_HOBJ_SORT)) {
       ostringstream ss;