osd: Use one timestamp for picking recovery and arming its retry timer #146

Merged
vitalif merged 1 commits from koolkhel/vitastor:osd-recovery-retry-clock into master 2026-11-22 22:57:27 +03:00

1 Commits

Author SHA1 Message Date
332c06989f osd: Use one timestamp for picking recovery and arming its retry timer
pick_next_recovery() and schedule_recovery_retry() each read the clock.
A PG pause that ended between the two reads was skipped by the pick but
not counted by the timer, so no timer was armed and the PG's recovery
waited for an unrelated event. Take the time once in continue_recovery()
and arm the timer for at least 1 us.
2026-11-22 16:49:24 +03:00