flush_block_map_updates(9)
π flush_block_map_updates β a kernel API manual moment
okay so this is a page from the Kernel API Manual, and honestly? it's a short one but it's got main character energy anyway. let's get into it β¨
πΈ NAME πΈ
flush_block_map_updates β bestie, this one flushes the block map now that all the reference counts are rebuilt. that's the whole vibe. π
π¦ SYNOPSIS π¦
void flush_block_map_updates (struct vdo_completion *completion );
like, it returns void, it takes one arg, it's giving "quietly does its job" energy. no cap. π
β¨ ARGUMENTS β¨
completionβ the repair completion. that's it, that's the whole parameter, and it's literally the repair completion, so don't overthink it π«Ά
π₯ DESCRIPTION π₯
so this callback is registered in finish_if_done. that's the entire description, i fear. it's short, it's iconic, it's lowkey mysterious. π
ngl the manpage is not gonna hold your hand here β the actual story lives over in the source, and the SEE ALSO section is your group chat. π
π SEE ALSO π
okay this is the part where the page goes FULL group chat. every one of these is a (9) kernel file reference, and the whole crew lives in the kernel file ./drivers/md/dm-vdo/repair.c β so like, that's the address, that's the hangout spot, that's where everybody's at. π¦
as_repair_completion(9)abort_repair(9)abort_on_error(9)drain_slab_depot(9)handle_page_load_error(9)unmap_entry(9)remove_out_of_bounds_entries(9)process_slot(9)rebuild_reference_counts_from_page(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, twenty-nine besties, all here, all accounted for. no one left behind, periodt. π
and that's the page!! π cute little sign-off time: this one's sourced from ./drivers/md/dm-vdo, dated October 2026, and it's filed right back under flush_block_map_updates(9) β so you literally cannot lose it. slay. ππ
π¦ 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