OPTION(osd_objecter_finishers, OPT_INT)
OPTION(osd_map_dedup, OPT_BOOL)
-OPTION(osd_map_max_advance, OPT_INT) // make this < cache_size!
OPTION(osd_map_cache_size, OPT_INT)
OPTION(osd_map_message_max, OPT_INT) // max maps per MOSDMap message
OPTION(osd_map_share_max_epochs, OPT_INT) // cap on # of inc maps we send to peers, clients
.set_default(true)
.set_description(""),
- Option("osd_map_max_advance", Option::TYPE_INT, Option::LEVEL_ADVANCED)
- .set_default(40)
- .set_description(""),
-
Option("osd_map_cache_size", Option::TYPE_INT, Option::LEVEL_ADVANCED)
.set_default(50)
.set_description(""),
"osd_op_history_slow_op_threshold",
"osd_enable_op_tracker",
"osd_map_cache_size",
- "osd_map_max_advance",
"osd_pg_epoch_persisted_max_stale",
"osd_disk_thread_ioprio_class",
"osd_disk_thread_ioprio_priority",
void OSD::check_config()
{
// some sanity checks
- if (cct->_conf->osd_map_cache_size <= cct->_conf->osd_map_max_advance + 2) {
- clog->warn() << "osd_map_cache_size (" << cct->_conf->osd_map_cache_size << ")"
- << " is not > osd_map_max_advance ("
- << cct->_conf->osd_map_max_advance << ")";
- }
if (cct->_conf->osd_map_cache_size <= (int)cct->_conf->osd_pg_epoch_persisted_max_stale + 2) {
clog->warn() << "osd_map_cache_size (" << cct->_conf->osd_map_cache_size << ")"
<< " is not > osd_pg_epoch_persisted_max_stale ("