vdo_make_io_submitter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the vdo that'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:

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