Implement parallel recovery

This commit is contained in:
Vitaliy Filippov
2020-04-04 19:23:12 +03:00
parent dfb6e15eaa
commit 6212195440
4 changed files with 154 additions and 105 deletions
+1
View File
@@ -185,6 +185,7 @@ void osd_t::handle_peers()
p.second.calc_object_states();
incomplete_objects += p.second.incomplete_objects.size();
misplaced_objects += p.second.misplaced_objects.size();
// FIXME: degraded objects may currently include misplaced, too! Report them separately?
degraded_objects += p.second.degraded_objects.size();
if (p.second.state & PG_HAS_UNCLEAN)
peering_state = peering_state | OSD_FLUSHING_PGS;