vdo_make_action_manager(9)
β¨ vdo_make_action_manager(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for vdo_make_action_manager(9) β yes the title is the same as the function name, iconic behavior honestly π
π NAME
vdo_make_action_manager β literally just: make an action manager. that's it. that's the whole vibe π¦
πΈ SYNOPSIS
int vdo_make_action_manager (zone_count_t zones ,
vdo_zone_thread_getter_fn get_zone_thread_id , thread_id_t
initiator_thread_id , void *context , vdo_action_scheduler_fn scheduler
, struct vdo *vdo , struct action_manager **manager_ptr );
like, seven arguments?? she's thriving on parameters, no cap π but it returns an int, so at least there's a return code to check. always check it, bestie π«Ά
β¨ ARGUMENTS β¨
zonesβ azone_count_t, aka the number of zones the actions are gonna be applied to. think of it as "how many girlies are we doing this for" πget_zone_thread_idβ avdo_zone_thread_getter_fn, which is a function that gets the thread id that's associated with a zone. it's giving "you go find out who's on shift" energy π₯initiator_thread_idβ athread_id_t: the thread on which actions may be initiated. main character thread, periodt πcontextβ avoid *that holds the per-zone context for the action. it's the little bag of stuff each zone carries around πschedulerβ avdo_action_scheduler_fn, a function that schedules a next action after an action concludes, but only if there's no pending action. and plot twist: it may beNULLπ«Ά (yes bestie,NULLis legal here, don't panic)vdoβ thestruct vdo *used to initialize completions βmanager_ptrβ a pointer to astruct action_manager *that's gonna hold the new action manager. like an empty tote bag waiting for the new manager to be dropped in π¦
π RETURN
VDO_SUCCESS or an error code. so cute, so simple β check it, don't sleep on it π
π§ SEE ALSO
- Kernel file
./drivers/md/dm-vdo/action-manager.c struct action(9)struct action_manager(9)vdo_schedule_default_action(9)vdo_schedule_action(9)vdo_schedule_operation(9)vdo_schedule_operation_with_context(9)
go read the whole crew, iykyk π
aaaand that's the page bestie! π
this one lives in ./drivers/md/dm-vdo, dated October 2026, and it's filed under vdo_make_action_manager(9) β go make some action managers, 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