OPTION(bluestore_debug_inject_bug21040, OPT_BOOL)
OPTION(bluestore_debug_inject_csum_err_probability, OPT_FLOAT)
OPTION(bluestore_no_per_pool_stats_tolerance, OPT_STR)
+OPTION(bluestore_warn_on_bluefs_spillover, OPT_BOOL)
OPTION(kstore_max_ops, OPT_U64)
OPTION(kstore_max_bytes, OPT_U64)
"'until_fsck' will tolerate the case for regular ops and fail on fsck or repair, the latter will fix the issue, "
"'until_repair' will tolerate for regular ops and fsck. Repair indicates and fixes the issue, "
"'enforce' will unconditionally use global stats mode."),
+
+ Option("bluestore_warn_on_bluefs_spillover", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
+ .set_default(true)
+ .set_description("Enable health indication on bluefs slow device usage"),
// -----------------------------------------
// kstore
{
std::lock_guard l(qlock);
- if (!spillover_alert.empty()) {
+ if (!spillover_alert.empty() &&
+ cct->_conf->bluestore_warn_on_bluefs_spillover) {
alerts.emplace(
"BLUEFS_SPILLOVER",
spillover_alert);