get_recover...block_header(9)
π« get_recovery_journal_block_header β Kernel API Manual, section 9 β¨
okay so bestie, welcome to <pink>get_recovery_journal_block_header</pink>(9) from the Kernel API Manual, and no cap this one is a little legend. the name is literally the whole plot: get_recovery_journal_block_header β it grabs you the block header for a block sitting at some position in the journal data, and unpacks it. that's it. that's the vibe. π
πΈ SYNOPSIS πΈ
struct recovery_block_header get_recovery_journal_block_header (struct
recovery_journal *journal , char *data , sequence_number_t sequence );
yes she's a chunky signature, but she ATE. π
π¦ ARGUMENTS π¦
journalβ the recovery journal itself, the main character of this whole operation πdataβ the recovery journal data, i.e. the actual bytes we're poking atsequenceβ the sequence number, thesequence_number_tone, don't lose track of her π§
β RETURN β
you get back the unpacked header β the struct recovery_block_header, all opened up and ready to read. periodt. π«Ά
π SEE ALSO π
literally the whole friend group, the entire Kernel file ./drivers/md/dm-vdo/repair.c campus, all showing up to the group chat:
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)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)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)
π reminder bestie: every one of those is a real(9)page in./drivers/md/dm-vdo/repair.c. don't @ me, go read them, iykyk π₯
and that's the tea, bestie π this lil icon lives in ./drivers/md/dm-vdo, dated October 2026, chilling in section 9 of the Kernel API Manual β go forth and unpack those headers, 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