Reset PG state when stopping them

This commit is contained in:
Vitaliy Filippov
2021-03-08 17:04:10 +03:00
parent 09b3e4e789
commit 8bdd6d8d78
2 changed files with 13 additions and 6 deletions
+1
View File
@@ -160,6 +160,7 @@ class osd_t
void submit_list_subop(osd_num_t role_osd, pg_peering_state_t *ps);
void discard_list_subop(osd_op_t *list_op);
bool stop_pg(pg_t & pg);
void reset_pg(pg_t & pg);
void finish_stop_pg(pg_t & pg);
// flushing, recovery and backfill