Try to process PG one after another

nfs-proxy-old
Vitaliy Filippov 2022-02-19 19:25:55 +03:00
parent a3fb1d4c98
commit 951272f27f
1 changed files with 2 additions and 0 deletions

View File

@ -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
{