From 951272f27f553c771f2b67f052ee1dc8137eaab4 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sat, 19 Feb 2022 19:25:55 +0300 Subject: [PATCH] Try to process PG one after another --- src/osd_peering.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osd_peering.cpp b/src/osd_peering.cpp index 006e80ba..9536e0fc 100644 --- a/src/osd_peering.cpp +++ b/src/osd_peering.cpp @@ -31,6 +31,8 @@ void osd_t::handle_peers() peering_state = peering_state | OSD_FLUSHING_PGS; else if (p.second.state & (PG_HAS_DEGRADED | PG_HAS_MISPLACED)) peering_state = peering_state | OSD_RECOVERING; + ringloop->wakeup(); + return; } else {