vdo_make_io_submitter(9)
π vdo_make_io_submitter π
okay so bestie, welcome to the Kernel API Manual β section 9 specifically, we're in the deep kernel lore now and honestly? iconic. this is vdo_make_io_submitter(9), and she's here to build you an io_submitter structure. main character constructor energy fr fr π
β¨ NAME β¨
vdo_make_io_submitter β literally just creates an io_submitter structure. that's the whole vibe. no cap. π¦
πΈ SYNOPSIS πΈ
int vdo_make_io_submitter (unsigned int thread_count , unsigned int
rotation_interval , unsigned int max_requests_active , struct vdo *vdo ,
struct io_submitter **io_submitter_ptr );
she takes five arguments and returns an int, and every single one of them matters, so let's go π«Ά
π ARGUMENTS π
thread_countβ how many bio-submission threads you want her to set up. that's it, that's the number of threads. pick responsibly, bestie β¨rotation_intervalβ the interval used when rotating between those bio-submission threads while enqueuing completions. yes, she rotates. yes, it's a whole thing. π«max_requests_activeβ the number of bios used for merge tracking. merge tracking!! very demure, very mindful. πΈvdoβ thevdothat's gonna be using this submitter. she's doing this for you,vdo. π₯Ίio_submitter_ptrβ a pointer to the new data structure. like, pointer-to-pointer, she writes the shiny new thing back through it. π
π₯ RETURN π₯
VDO_SUCCESS or an error. that's the whole range, bestie β either she ate or she didn't. π
π¦ SEE ALSO π¦
Kernel file ./drivers/md/dm-vdo/io-submitter.c β go read the source, iykyk π
and the whole friend group, in the order she lists them:
count_all_bios(9)assert_in_bio_zone(9)send_bio_to_device(9)vdo_submit_vio(9)get_bio_list(9)submit_data_vio(9)get_mergeable_locked(9)try_bio_map_merge(9)vdo_submit_data_vio(9)__submit_metadata_vio(9)vdo_submit_metadata_vio_wait(9)vdo_cleanup_io_submitter(9)vdo_free_io_submitter(9)
like, the cleanup twins are right there at the bottom waiting for you when you're done. balance. π
and that's the page!! π this lil beauty lives over in ./drivers/md/dm-vdo and she's dated October 2026 β so go forth, make your io_submitter, and slay πβ¨π
π¦ 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