Apply recovery pause before writes, after commits, and do not apply it to syncs to not block EC pools from functioning

This commit is contained in:
Vitaliy Filippov
2024-02-11 16:13:52 +03:00
parent bb2f395f1e
commit 978bdc128a
3 changed files with 24 additions and 3 deletions
+1 -1
View File
@@ -442,7 +442,7 @@ void osd_t::tune_recovery()
if (recovery_target_sleep_count < recovery_tune_agg_interval)
recovery_target_sleep_count++;
recovery_target_sleep_us = recovery_target_sleep_total / recovery_target_sleep_count;
if (log_level > 4)
if (log_level > 1)
{
printf(
"[OSD %lu] auto-tune: client util: %.2f, recovery util: %.2f, lat: %lu us -> target util %.2f, delay %lu us\n",