vdo_schedule_action(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vdo_schedule_action(9) β€” the kernel API manual, but make it cute

okay so bestie, you found vdo_schedule_action and you're like "what does this even do" β€” don't worry, i got you. this is from the Kernel API Manual, and honestly? it's giving "queue up a little task for every zone" and i'm kinda obsessed. ✨


🌸 NAME 🌸

vdo_schedule_action β€” schedule an action to be applied to all zones. literally what it says on the tin, no cap.


πŸŽ€ SYNOPSIS πŸŽ€

bool vdo_schedule_action (struct action_manager *manager ,
vdo_action_preamble_fn preamble , vdo_zone_action_fn action ,
vdo_action_conclusion_fn conclusion , struct vdo_completion *parent );

like, five whole arguments. slay. let's meet them πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • manager β€” the action manager you're scheduling the action on. this is the main character that runs the whole show πŸ‘‘
  • preamble β€” a method that gets invoked on the initiator thread once this action is started, but before it's applied to each zone; may be NULL. so it's the lil pre-game hype moment, and yes she can ghost you.
  • action β€” the actual action to apply to each zone; may be NULL. the main event, but also optional, no pressure 🫢
  • conclusion β€” a method invoked back on the initiator thread once the action has been applied to all zones; may be NULL. the cool-down, the afters, the "we did that."
  • parent β€” the object to notify once the action is complete, or if the action can not be scheduled; may be NULL. your emotional support notification object πŸ’–

✨ DESCRIPTION ✨

so here's the tea πŸ“: the action gets launched immediately if there's no current action, or as soon as the current action completes. like, she's ready when you're ready.

but β€” and this is the important bit β€” if there is already a pending action, this action will not be scheduled, and if it has a parent, that parent will be notified. so no cutting in line, bestie. 😭

also fr fr: at least one of the preamble, action, or conclusion must not be NULL. all three being NULL is a vibe check that does not pass. πŸ’€

⭐ RETURN ⭐

true if the action was scheduled. that's it. that's the whole mood. βœ…


🌈 SEE ALSO 🌈

go read those too, iykyk 🧚


and that's the page, bestie! πŸŽ€ it lives over in ./drivers/md/dm-vdo, dated October 2026, and it's part of the Kernel API Manual. mwah, go schedule something iconic πŸ’…πŸ”₯πŸ‘‘

πŸ“¦ where this page comes from