Previously, the first `pg_lease_ack_t` after becoming laggy would not
trigger `recheck_readable`. However, every other ack would trigger it.
The logic is inverted, causing unnecessarily long laggy PG state.
Fixes: 3bb8a7210a6 (osd: requeue ops when PG is no longer laggy)
Fixes: https://tracker.ceph.com/issues/53806
Signed-off-by: 胡玮文 <huww98@outlook.com>
(cherry picked from commit
caeca396e8b149cfa09ed99eda4f7a7186b005b4)
if (was_min) {
auto old_ru = readable_until;
recalc_readable_until();
- if (now < old_ru) {
+ if (now >= old_ru) {
pl->recheck_readable();
}
}