launch_data...one_callback(9)
π
launch_data...one_callback(9) β like, the actual name is launch_data_vio_duplicate_zone_callback
okay so bestie, welcome to the Kernel API Manual π β yes, that's the manual name, and yes, we're doing kernel internals today. Buckle up, it's giving "3am in drivers/md" energy and honestly? iconic.
β¨ NAME β¨
launch_data_vio_duplicate_zone_callback β sets a callback as a physical block operation in a data_vio's duplicate zone, then queues the data_vio and invokes it immediately. Like, all of it. Right away. No waiting around, no "let me think about it" β it's main character energy, it just goes. π₯
ngl the "invoke it immediately" part is doing a lot of heavy lifting in that sentence, so don't sleep on it.
β¨ SYNOPSIS β¨
void launch_data_vio_duplicate_zone_callback (struct data_vio *data_vio
, vdo_action_fn callback );
That's the whole thing. Returns void, so don't go looking for a return value, there isn't one π
β¨ ARGUMENTS β¨
data_vioβ astruct data_vio *... and that's genuinely all we get, bestie. The manual says undescribed. Not me being lazy β the source page literally just doesn't describe it. πcallbackβ avdo_action_fn... also marked undescribed. Same story. The docs said "figure it out" and honestly? relatable. π
fr fr, both arguments are listed as -- undescribed -- in the original. I'm telling you that on purpose so you don't think I skipped a section. Nothing was skipped. There was just nothing there. π
β¨ SEE ALSO β¨
π¦ the source file
- Kernel file
./drivers/md/dm-vdo/data-vio.hβ like, the wholedm-vdodirectory lives at./drivers/md/dm-vdo, and this is the header you want.
π«Ά the sibling callbacks (yes, it's a whole friend group)
continue_data_vio_with_error(9)launch_data_vio_hash_zone_callback(9)launch_data_vio_logical_callback(9)launch_data_vio_allocated_zone_callback(9)launch_data_vio_journal_callback(9)launch_data_vio_packer_callback(9)launch_data_vio_cpu_callback(9)launch_data_vio_bio_zone_callback(9)launch_data_vio_on_bio_ack_queue(9)
like, that's nine whole references β the duplicate-zone one is literally part of a set, a little squad of launch_data_vio_*_callback functions all doing their own zone thing. collect them all, iykyk β¨
πΈ the cute sign-off πΈ
This page is brought to you by ./drivers/md/dm-vdo (that's the source, and also the version line, they're the same thing here, don't @ me) and it's dated October 2026 β so yes, the docs are from the future, slay π. Same title, same section (9), both corners nice and tidy. π
periodt. now go read data-vio.h, bestie. π
π¦
π¦ 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