This is a precondition of entering into PendingTimer.
maps_compare_n_cleanup() resets it after comparing the maps on the previous
chunk. reset_internal_state() and various callers handle clearing m_start
and m_end on reset.
Signed-off-by: Samuel Just <sjust@redhat.com>
*/
void PgScrubber::add_delayed_scheduling()
{
- m_end = m_start; // not blocking any range now
-
milliseconds sleep_time{0ms};
sleep_time = m_osds->get_scrub_services().scrub_sleep_time(
m_flags.required);