Since https://github.com/ceph/ceph/pull/55340, the
osd_max_scrubs (also) affects the parameters of the
async scrub reserver used by the replicas. Thus,
the code must notice and acknowledge changes to this config.
Fixes: https://tracker.ceph.com/issues/69362
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
"osd_scrub_max_interval",
"osd_op_thread_timeout",
"osd_op_thread_suicide_timeout",
- NULL
+ "osd_max_scrubs",
+ nullptr
};
return KEYS;
}
service.snap_reserver.set_max(cct->_conf->osd_max_trimming_pgs);
}
if (changed.count("osd_max_scrubs")) {
+ dout(0) << fmt::format(
+ "{}: scrub concurrency max changed to {}",
+ __func__, cct->_conf->osd_max_scrubs)
+ << dendl;
service.scrub_reserver.set_max(cct->_conf->osd_max_scrubs);
}
if (changed.count("osd_op_complaint_time") ||