vdo_schedule_operation(9)
π vdo_schedule_operation(9) π
okay so bestie, welcome to the Kernel API Manual entry for vdo_schedule_operation(9) β yes, we're in kernel API land, and this one is literally about scheduling an operation to be applied to all zones. no cap, the zone coverage is the whole point. β¨
πΈ NAME πΈ
vdo_schedule_operation β schedule an operation to be applied to all zones.
β¨ SYNOPSIS β¨
bool vdo_schedule_operation (struct action_manager *manager , const
struct admin_state_code *operation , vdo_action_preamble_fn preamble ,
vdo_zone_action_fn action , vdo_action_conclusion_fn conclusion , struct
vdo_completion *parent );
π ARGUMENTS π
managerβ the action manager you're scheduling the action on. that's the main character here. πoperationβ the operation this action will perform. yes, it is giving βwhat are we doing.β πpreambleβ a method to be invoked on the initiator thread once this action is started but before applying to each zone; may beNULL. so it's the little pre-game moment. π«Άactionβ the action to apply to each zone; may beNULL. the actual zone-by-zone move. π₯conclusionβ a method to be invoked back on the initiator thread once the action has been applied to all zones; may beNULL. the wrap-up hug. πparentβ the object to notify once the action is complete or if the action can not be scheduled; may beNULL. it's on notification duty. π
π DESCRIPTION π
The operation's action will be launched immediately if there is no current action, or as soon as the current action completes. so if the lane is clear, it goes; if not, it waits its turn. no drama. π«
If there is already a pending action, this operation will not be scheduled, and, if it has a parent, that parent will be notified. that's the βsorry bestie, no roomβ text. π
π¨ bestie, the vibe check is real: at least one of thepreamble,action, orconclusionmust not beNULL.
like, you cannot bring all NULLs to the function; the vibe check says at least one has to be real. π
β RETURN β
Returns true if the action was scheduled. that's the documented win condition, bestie. β
π¦ SEE ALSO π¦
- Kernel file
./drivers/md/dm-vdo/action-manager.c struct action(9)struct action_manager(9)vdo_make_action_manager(9)vdo_schedule_default_action(9)vdo_schedule_action(9)vdo_schedule_operation_with_context(9)
made with love from the ./drivers/md/dm-vdo source tree, dated October 2026, page vdo_schedule_operation(9) β bye bestie, go schedule responsibly π«Άβ¨
π¦ 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