rebuild_refe...ts_from_page(9)
π NAME π
rebuild_reference_counts_from_page β bestie, this one rebuilds the reference counts straight from a block map page. That's the whole vibe. β¨
(Oh and hiiiii, this is from the Kernel API Manual β welcome to the group chat π«Ά)
β¨ SYNOPSIS β¨
void rebuild_reference_counts_from_page (struct repair_completion
*repair , struct vdo_completion *completion );
Like, that's literally it. Two args, one function, zero drama (okay maybe a little drama, it's kernel repair code π).
π ARGUMENTS π
repairβ the repair completion. It's giving "the whole repair operation, main character energy" πcompletionβ the page completion, aka the thing that's literally holding the page for you. Iconic. Hold it gently π₯Ί
π¦ SEE ALSO π¦
Okay so first off, the source lives in the Kernel file ./drivers/md/dm-vdo/repair.c β that's the home base π . And here's the whole friend group, no cap, every single one of them:
as_repair_completion(9)abort_repair(9)abort_on_error(9)drain_slab_depot(9)flush_block_map_updates(9)handle_page_load_error(9)unmap_entry(9)remove_out_of_bounds_entries(9)process_slot(9)page_loaded(9)fetch_page(9)rebuild_from_leaves(9)process_entry(9)advance_points(9)before_recovery_point(9)get_entry(9)validate_recovery_journal_entry(9)add_slab_journal_entries(9)vdo_replay_into_slab_journals(9)find_entry_starting_next_page(9)get_recovery_journal_block_header(9)is_valid_recovery_journal_block(9)is_exact_recovery_journal_block(9)find_recovery_journal_head_and_tail(9)unpack_entry(9)append_sector_entries(9)extract_new_mappings(9)compute_usages(9)vdo_repair(9)
Like, that's the entire entourage π go read them, iykyk.
ngl bestie, this is deep kernel internals β read it slow, and don't @ me if you're confused, the manpage is right there ππ
β¨ that's a wrap β¨ this gorgeous little page came from ./drivers/md/dm-vdo, dated October 2026, and it answers to the name rebuild_refe...ts_from_page(9). mwah π ππ¦π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms