Home
last modified time | relevance | path

Searched refs:recovery_passes (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dsb-downgrade.c123 u64 recovery_passes; member
135 .recovery_passes = passes, \
190 u64 passes = i->recovery_passes; in bch2_sb_set_upgrade()
210 .recovery_passes = passes, \
239 dst->recovery_passes[b / 64] |= cpu_to_le64(BIT_ULL(b % 64)); in downgrade_table_extra()
312 bch2_recovery_passes_from_stable(le64_to_cpu(i->recovery_passes[0]))); in bch2_sb_downgrade_to_text()
355 dst->recovery_passes[0] = cpu_to_le64(bch2_recovery_passes_to_stable(src->recovery_passes)); in bch2_sb_downgrade_update()
356 dst->recovery_passes[1] = 0; in bch2_sb_downgrade_update()
365 if (!dst->recovery_passes[0] && in bch2_sb_downgrade_update()
366 !dst->recovery_passes[1] && in bch2_sb_downgrade_update()
[all …]
Drecovery_passes.c49 if (keys->nr || c->opts.fsck || !c->sb.clean || c->opts.recovery_passes) in bch2_set_may_go_rw()
106 if (c->opts.recovery_passes & BIT_ULL(pass)) in bch2_run_explicit_recovery_pass()
113 c->opts.recovery_passes |= BIT_ULL(pass); in bch2_run_explicit_recovery_pass()
172 if (c->opts.recovery_passes & BIT_ULL(pass)) in should_run_recovery_pass()
Drecovery.c97 …c->opts.recovery_passes |= bch2_recovery_passes_from_stable(le64_to_cpu(ext->recovery_passes_requi… in bch2_reconstruct_alloc()
528 c->opts.recovery_passes |= BIT_ULL(BCH_RECOVERY_PASS_check_allocations); in read_btree_roots()
529 c->opts.recovery_passes |= BIT_ULL(BCH_RECOVERY_PASS_check_alloc_info); in read_btree_roots()
530 c->opts.recovery_passes |= BIT_ULL(BCH_RECOVERY_PASS_check_lrus); in read_btree_roots()
531 c->opts.recovery_passes |= BIT_ULL(BCH_RECOVERY_PASS_check_extents_to_backpointers); in read_btree_roots()
532 c->opts.recovery_passes |= BIT_ULL(BCH_RECOVERY_PASS_check_alloc_to_lru_refs); in read_btree_roots()
535 } else if (!(c->opts.recovery_passes & BIT_ULL(BCH_RECOVERY_PASS_scan_for_btree_nodes))) { in read_btree_roots()
537 c->opts.recovery_passes |= BIT_ULL(BCH_RECOVERY_PASS_scan_for_btree_nodes); in read_btree_roots()
538 c->opts.recovery_passes |= BIT_ULL(BCH_RECOVERY_PASS_check_topology); in read_btree_roots()
709 …c->opts.recovery_passes |= bch2_recovery_passes_from_stable(le64_to_cpu(ext->recovery_passes_requi… in bch2_fs_recovery()
[all …]
Dsb-downgrade_format.h7 __le64 recovery_passes[2]; member
DMakefile74 recovery_passes.o \
Dopts.h377 x(recovery_passes, u64, \
Dbtree_io.c1669 if (c->opts.recovery_passes & BIT_ULL(BCH_RECOVERY_PASS_check_topology) && in bch2_btree_node_read()
Dbtree_update_interior.c149 if ((c->opts.recovery_passes & BIT_ULL(BCH_RECOVERY_PASS_check_topology)) && in bch2_btree_node_check_topology()