vdo_pack_rec...block_header(9)
π vdo_pack_rec...block_header(9) β like, the whole glow-up
okay so bestie, welcome to the Kernel API Manual, section 9, page vdo_pack_rec...block_header(9) β yes the title is literally abbreviated with ... because apparently even kernel devs run out of room π anyway she's here, she's iconic, let's get into it.
β¨ NAME β¨
vdo_pack_recovery_block_header β generates the packed representation of a recovery block header. that's the whole vibe. packing. recovering. headers. periodt.
π SYNOPSIS π
void vdo_pack_recovery_block_header (const struct recovery_block_header
*header , struct packed_journal_header *packed );
look at her. returns void, takes two pointers, no notes. main character energy fr fr π«Ά
πΈ ARGUMENTS πΈ
headerβ the header holding all the values you wanna encode. she's the source of truth, the blueprint, the moment πpackedβ the header you're packing those values into. this one's getting filled up, no cap π§
π SEE ALSO π
so there's a Kernel file in the mix: ./drivers/md/dm-vdo/encodings.h β that's the address, bestie, don't lose it.
and then the whole friend group shows up, in exactly this order (i did not make this up, this is the actual list, respect the list):
Block map entries(9)vdo_are_same_version(9)vdo_pack_version_number(9)vdo_unpack_version_number(9)vdo_pack_header(9)vdo_unpack_header(9)vdo_get_index_region_start(9)vdo_get_data_region_start(9)vdo_get_index_region_size(9)vdo_pack_recovery_journal_entry(9)vdo_unpack_recovery_journal_entry(9)vdo_is_valid_recovery_journal_sector(9)vdo_compute_recovery_journal_block_number(9)vdo_get_journal_block_sector(9)vdo_unpack_recovery_block_header(9)vdo_compute_slab_count(9)vdo_get_saved_reference_count_size(9)vdo_get_slab_journal_start_block(9)vdo_advance_journal_point(9)vdo_before_journal_point(9)vdo_pack_journal_point(9)vdo_unpack_journal_point(9)vdo_pack_slab_journal_block_header(9)vdo_unpack_slab_journal_block_header(9)vdo_pack_slab_journal_entry(9)vdo_unpack_slab_journal_entry(9)vdo_get_slab_summary_hint_shift(9)
that's 27 entries. i counted. not me being thorough π slay.
ngl bestie, if youpacksomething you're probably gonna want the matchingunpackβ and look at that,vdo_unpack_recovery_block_header(9)is right there in the list. the symmetry. the poetry. πβ¨
π k bye, this page lives in ./drivers/md/dm-vdo and it's dated October 2026 β signature of the source and version, sealed with a kiss π 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