pack_compressed_data(9)
π pack_compressed_data β a Kernel API moment π
okay so bestie, welcome to the pack_compressed_data(9) page β it's a kernel API manual, it lives in the pack_compressed_data(9) section, and it is short but it is iconic. let's get into it π«Ά
β¨ NAME β¨
pack_compressed_data β the function that tries to pack that compressed data_vio into a block. like, it attempts it. no cap, "attempt" is the whole vibe here π
πΈ SYNOPSIS πΈ
void pack_compressed_data (struct vdo_completion *completion );
that's the whole signature, and yes it returns void β no return value, no drama, it just does the thing β¨
π ARGUMENTS π
completionβ thedata_vio. that's it. that's the whole description. she's astruct vdo_completion *and she's the data_vio, periodt π
π¦ DESCRIPTION π¦
okay so the tea: this is the callback that gets registered in launch_compress_data_vio. that's literally the entire description and honestly? it ate. main character callback energy fr fr π
so when launch_compress_data_vio does its whole thing, this is the function that gets called back. it shows up, it tries to pack the compressed data_vio into a block, it's giving "i was invited, i'm doing my job" ππ
lowkey reminder: the manpage says attempt to pack β so don't go around assuming it always succeeds, bestie π
β SEE ALSO β
bestie there are SO many references here, buckle up, we're going on a journey π§ββοΈβ¨
- the kernel file
./drivers/md/dm-vdo/data-vio.c Bio flags.(9)Introduction(9)check_for_drain_complete_locked(9)pack_status(9)set_data_vio_compression_status(9)cancel_data_vio_compression(9)attempt_logical_block_lock(9)launch_data_vio(9)schedule_releases(9)process_release_callback(9)initialize_data_vio(9)make_data_vio_pool(9)free_data_vio_pool(9)vdo_launch_bio(9)drain_data_vio_pool(9)resume_data_vio_pool(9)dump_data_vio_pool(9)release_allocated_lock(9)release_logical_lock(9)finish_cleanup(9)get_data_vio_operation_name(9)data_vio_allocate_data_block(9)release_data_vio_allocation_lock(9)uncompress_data_vio(9)modify_for_partial_write(9)read_block(9)update_block_map(9)read_old_block_mapping(9)compress_data_vio(9)launch_compress_data_vio(9)hash_data_vio(9)write_bio_finished(9)acknowledge_write_callback(9)allocate_block(9)handle_allocation_error(9)continue_data_vio_with_block_map_slot(9)
like, that's the whole friend group and every single one of them gets a (9). we love a consistent squad π
and that's the page!! mwah π this lil writeup lives in ./drivers/md/dm-vdo, dated October 2026, and it's filed under pack_compressed_data(9) β go off, kernel docs, you absolute icons πππ₯
π¦ 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