mirror of
https://github.com/ceph/ceph
synced 2025-01-29 22:43:40 +00:00
mon/OSDMonitor: default require_min_compat_client to hammer for new clusters
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
a1c6646823
commit
481411e995
@ -320,6 +320,7 @@ OPTION(mon_cache_target_full_warn_ratio, OPT_FLOAT, .66) // position between poo
|
||||
OPTION(mon_osd_full_ratio, OPT_FLOAT, .95) // what % full makes an OSD "full"
|
||||
OPTION(mon_osd_backfillfull_ratio, OPT_FLOAT, .90) // what % full makes an OSD backfill full (backfill halted)
|
||||
OPTION(mon_osd_nearfull_ratio, OPT_FLOAT, .85) // what % full makes an OSD near full
|
||||
OPTION(mon_osd_initial_require_min_compat_client, OPT_STR, "hammer")
|
||||
OPTION(mon_allow_pool_delete, OPT_BOOL, false) // allow pool deletion
|
||||
OPTION(mon_globalid_prealloc, OPT_U32, 10000) // how many globalids to prealloc
|
||||
OPTION(mon_osd_report_timeout, OPT_INT, 900) // grace period before declaring unresponsive OSDs dead
|
||||
|
@ -230,6 +230,7 @@ void OSDMonitor::create_initial()
|
||||
if (newmap.backfillfull_ratio > 1.0) newmap.backfillfull_ratio /= 100;
|
||||
newmap.nearfull_ratio = g_conf->mon_osd_nearfull_ratio;
|
||||
if (newmap.nearfull_ratio > 1.0) newmap.nearfull_ratio /= 100;
|
||||
newmap.require_min_compat_client = g_conf->mon_osd_initial_require_min_compat_client;
|
||||
}
|
||||
|
||||
// encode into pending incremental
|
||||
|
Loading…
Reference in New Issue
Block a user