vdo_launch_flush(9)
π NAME π
vdo_launch_flush β Function called to start processing a flush request. And yes bestie, this is the vdo_launch_flush(9) page from the Kernel API Manual, and we are gonna get through it together π
β¨ SYNOPSIS β¨
The signature is short, sweet, and iconic:
void vdo_launch_flush (struct vdo *vdo , struct bio *bio );
No cap, that's the whole flex π¦
πΈ ARGUMENTS πΈ
vdoβ thevdo. That's the struct, bestie. Literally thevdoπbioβ thebiocontaining an empty flush request. An empty flush request, living its best life inside abioπ
π¦ DESCRIPTION π¦
Okay so here's the vibe: vdo_launch_flush is called when we receive an empty flush bio from the block layer. It's also called before acknowledging a non-empty bio with the FUA flag set. That's the whole description, and it's lowkey important β it's the launch moment for processing a flush request π₯
Empty flush bio from the block layer? Yep. Non-empty bio with the FUA flag set, before it gets acknowledged? Also yep. Periodt π
π SEE ALSO π
The lore continues in Kernel file ./drivers/md/dm-vdo/flush.c, and the whole squad is: assert_on_flusher_thread(9), as_flusher(9), completion_as_vdo_flush(9), vdo_waiter_as_flush(9), vdo_make_flusher(9), vdo_free_flusher(9), vdo_get_flusher_thread_id(9), finish_notification(9), flush_packer_callback(9), increment_generation(9), notify_flush(9), flush_vdo(9), check_for_drain_complete(9), vdo_complete_flushes(9), vdo_dump_flusher(9), initialize_flush(9), release_flush(9), vdo_complete_flush_callback(9), select_bio_queue(9), vdo_complete_flush(9), vdo_drain_flusher(9), vdo_resume_flusher(9). Every single one, bestie π
Source/version: ./drivers/md/dm-vdo Β· date: October 2026 β mwah, you ate this page ππ«Ά
π¦ 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