make_vio_pool(9)
β¨ 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:
create_multi_block_metadata_vio(9)free_vio_components(9)free_vio(9)update_vio_error_stats(9)free_vio_pool(9)is_vio_pool_busy(9)acquire_vio_from_pool(9)return_vio_to_pool(9)
xoxo, from ./drivers/md/dm-vdo β October 2026 β on the make_vio_pool(9) page. bye 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