vdo_pack_header(9)
π
vdo_pack_header(9) β Kernel API Manual β¨
okay so bestie, welcome to the vdo_pack_header(9) page, aka the glow-up station for component headers. this is the kernel API manual and we're about to make your header look right for the disk. no cap.
π NAME π
vdo_pack_header β converts a component header into its packed on-disk representation. literally taking your cozy in-memory header and putting it in its travel fit so it can live on disk. slay.
β¨ SYNOPSIS β¨
struct packed_header vdo_pack_header (const struct header *header );
that's it. one argument, one return, one iconic little function. π
πΈ ARGUMENTS πΈ
headerβ the header you want to convert. hand it over, she's getting packed. π
π¦ RETURN π¦
returns the platform-independent representation of the header. so like, it doesn't matter what machine you're on β the packed form is the packed form. main character energy, honestly. π
π SEE ALSO π
the whole friend group, gathered here in ./drivers/md/dm-vdo/encodings.h. say hi to everybody:
- Block map entries(9)
vdo_are_same_version(9)vdo_pack_version_number(9)vdo_unpack_version_number(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_pack_recovery_block_header(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)
like, the entire cast. iykyk. π«Ά
ngl bestie, if you're packing something, make sure you know what you're packing β this page is about headers, and the unpacking friend is right there in SEE ALSO if you ever need to go the other way. π
and that's the page!! brought to you by ./drivers/md/dm-vdo, dated October 2026, in the vdo_pack_header(9) era. go pack something cute. ππβ¨
π¦ 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