assert_on_packer_thread(9)
π assert_on_packer_thread(9) π
okay so real talk, this one lives in the Kernel API Manual and it's basically the function that goes "bestie, are you actually on the packer thread rn?" like a vibe check but for threads π§΅β¨
β¨ NAME β¨
assert_on_packer_thread β the little check that confirms we are, in fact, on the packer thread. no cap, that's the whole job π«Ά
π SYNOPSIS π
void assert_on_packer_thread (struct packer *packer , const char *caller
);
πΈ ARGUMENTS πΈ
packerβ the packer. that's it, that's the description π the packer in question, the main character of this whole situation πcallerβ the function that's doing the asserting. like, who's out here claiming they're on the packer thread? name names bestie π’
π¦ SEE ALSO π¦
first up, the glow-up source file itself, sitting pretty at Kernel file ./drivers/md/dm-vdo/packer.c β go read it, iykyk π
and then, the whole friend group, fr fr (all of them are (9) sections):
vdo_get_compressed_block_fragment(9)insert_in_sorted_list(9)make_bin(9)vdo_make_packer(9)vdo_free_packer(9)get_packer_from_data_vio(9)vdo_get_packer_statistics(9)abort_packing(9)release_compressed_write_waiter(9)finish_compressed_write(9)add_to_bin(9)remove_from_bin(9)initialize_compressed_block(9)pack_fragment(9)compressed_write_end_io(9)write_bin(9)add_data_vio_to_packer_bin(9)select_bin(9)vdo_attempt_packing(9)check_for_drain_complete(9)write_all_non_empty_bins(9)vdo_flush_packer(9)vdo_remove_lock_holder_from_packer(9)vdo_increment_packer_flush_generation(9)vdo_drain_packer(9)vdo_resume_packer(9)vdo_dump_packer(9)
like... that's the whole squad. nobody's missing. periodt ππ
ngl bestie, this page is short and sweet β no options, no defaults, no env vars, no exit statuses, no warnings. it's just the assert and its entourage. slay for being thorough and reading the whole thing tho π₯Ήπ
and that's the page!! mwah π this little baddie comes to you from ./drivers/md/dm-vdo, dated October 2026, and it's still out here doing the most for assert_on_packer_thread(9) β go off, icon πβπ
π¦ 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