Home
last modified time | relevance | path

Searched refs:curr_recovery_pass (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Drecovery_passes.c111 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()
[all …]
Dbackpointers.c142 } else if (c->curr_recovery_pass > BCH_RECOVERY_PASS_check_extents_to_backpointers) { in backpointer_mod_err()
162 if (c->curr_recovery_pass > BCH_RECOVERY_PASS_check_extents_to_backpointers) { in backpointer_mod_err()
301 if (c->curr_recovery_pass >= BCH_RECOVERY_PASS_check_extents_to_backpointers) in backpointer_not_found()
Dalloc_background.c311 c->curr_recovery_pass > BCH_RECOVERY_PASS_check_alloc_to_lru_refs, in bch2_alloc_v4_validate()
716 c->curr_recovery_pass > BCH_RECOVERY_PASS_check_alloc_info && in bch2_bucket_do_index()
1797 if (bch2_trans_inconsistent_on(c->curr_recovery_pass > BCH_RECOVERY_PASS_check_alloc_info, in bch2_discard_one_bucket()
1812 if (bch2_trans_inconsistent_on(c->curr_recovery_pass > BCH_RECOVERY_PASS_check_alloc_info, in bch2_discard_one_bucket()
1821 if (bch2_trans_inconsistent_on(c->curr_recovery_pass > BCH_RECOVERY_PASS_check_alloc_info, in bch2_discard_one_bucket()
2091 if (c->curr_recovery_pass > BCH_RECOVERY_PASS_check_lrus) { in invalidate_one_bucket()
Dalloc_foreground.c317 if (c->curr_recovery_pass <= BCH_RECOVERY_PASS_check_alloc_info) { in try_alloc_bucket()
333 c->curr_recovery_pass > BCH_RECOVERY_PASS_check_alloc_info) { in try_alloc_bucket()
345 if (c->curr_recovery_pass <= BCH_RECOVERY_PASS_check_extents_to_backpointers) { in try_alloc_bucket()
659 if (!ob && freespace && c->curr_recovery_pass <= BCH_RECOVERY_PASS_check_alloc_info) { in bch2_bucket_alloc_trans()
Drecovery.c895 c->curr_recovery_pass = BCH_RECOVERY_PASS_check_alloc_info; in bch2_fs_recovery()
1038 c->curr_recovery_pass = BCH_RECOVERY_PASS_NR; in bch2_fs_initialize()
Dbtree_io.c554 bool silent = c->curr_recovery_pass == BCH_RECOVERY_PASS_scan_for_btree_nodes; in __btree_err()
1344 c->curr_recovery_pass != BCH_RECOVERY_PASS_scan_for_btree_nodes) { in btree_node_read_work()
1670 c->curr_recovery_pass > BCH_RECOVERY_PASS_check_topology) in bch2_btree_node_read()
Dbcachefs.h1050 enum bch_recovery_pass curr_recovery_pass; member
Dchardev.c798 c->curr_recovery_pass = BCH_RECOVERY_PASS_check_alloc_info; in bch2_fsck_online_thread_fn()
Dbtree_cache.c1003 if (c->curr_recovery_pass <= BCH_RECOVERY_PASS_check_allocations) in btree_bad_header()
Dsnapshot.c342 if (c->curr_recovery_pass > BCH_RECOVERY_PASS_delete_dead_snapshots) in __bch2_mark_snapshot()
Dbtree_update_interior.c150 c->curr_recovery_pass > BCH_RECOVERY_PASS_check_topology) { in bch2_btree_node_check_topology()