Lines Matching refs:curr_recovery_pass
111 bch2_recovery_passes[c->curr_recovery_pass], c->curr_recovery_pass); in bch2_run_explicit_recovery_pass()
115 if (c->curr_recovery_pass >= pass) { in bch2_run_explicit_recovery_pass()
116 c->curr_recovery_pass = pass; in bch2_run_explicit_recovery_pass()
214 i = c->curr_recovery_pass; in bch2_run_online_recovery_passes()
236 while (c->curr_recovery_pass < ARRAY_SIZE(recovery_pass_fns)) { in bch2_run_recovery_passes()
238 c->curr_recovery_pass > c->opts.recovery_pass_last) in bch2_run_recovery_passes()
241 if (should_run_recovery_pass(c, c->curr_recovery_pass)) { in bch2_run_recovery_passes()
242 unsigned pass = c->curr_recovery_pass; in bch2_run_recovery_passes()
244 ret = bch2_run_recovery_pass(c, c->curr_recovery_pass) ?: in bch2_run_recovery_passes()
247 (ret && c->curr_recovery_pass < pass)) in bch2_run_recovery_passes()
252 c->recovery_passes_complete |= BIT_ULL(c->curr_recovery_pass); in bch2_run_recovery_passes()
255 c->recovery_pass_done = max(c->recovery_pass_done, c->curr_recovery_pass); in bch2_run_recovery_passes()
258 bch2_clear_recovery_pass_required(c, c->curr_recovery_pass); in bch2_run_recovery_passes()
260 c->curr_recovery_pass++; in bch2_run_recovery_passes()