make_vio_pool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ make_vio_pool(9) ✨

okay so bestie, we're opening a page from the Kernel API Manual β€” the main character here is make_vio_pool(9), and it's literally here to create a new vio pool. no cap, let's get into it πŸ’…


🌸 NAME 🌸

make_vio_pool β€” Create a new vio pool. πŸ¦‹

✨ SYNOPSIS ✨

the signature, bestie β€” copy it exactly, character for character:

int make_vio_pool (struct vdo *vdo , size_t pool_size , size_t
block_count , thread_id_t thread_id , enum vio_type vio_type , enum
vio_priority priority , void *context , struct vio_pool **pool_ptr );

πŸŽ€ ARGUMENTS πŸŽ€

  • vdo β€” The vdo. that's the whole description, and honestly? iconic minimalism. πŸ’–
  • pool_size β€” The number of vios in the pool.
  • block_count β€” The number of 4k blocks per vio.
  • thread_id β€” The ID of the thread using this pool.
  • vio_type β€” The type of vios in the pool.
  • priority β€” The priority with which vios from the pool should be enqueued.
  • context β€” The context that each entry will have.
  • pool_ptr β€” The resulting pool.

πŸ”₯ RETURN πŸ”₯

A success or error code. that's the return, bestie β€” success or error, no extra lore. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/md/dm-vdo/vio.c

go be nosy in these besties too:


xoxo, from ./drivers/md/dm-vdo β€” October 2026 β€” on the make_vio_pool(9) page. bye bestie πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from