STRUCT ACTION(9)
π NAME π
Okay bestie, welcome to the struct action(9) page from the Kernel API Manual β and the whole vibe is: struct action is an action to be performed in each of a set of zones. Periodt. β¨
β¨ SYNOPSIS β¨
struct action {
bool in_use;
const struct admin_state_code *operation;
vdo_action_preamble_fn preamble;
vdo_zone_action_fn zone_action;
vdo_action_conclusion_fn conclusion;
struct vdo_completion *parent;
void *context;
struct action *next;
};
π«Ά Members π«Ά
in_useβ whether this structure is in use. literally the βare we doing this or notβ flag, no cap.operationβ the admin operation associated with this action. itβs giving βwhich admin op are we tied to?β energy.preambleβ the method to run on the initiator thread before the action is applied to each zone. pre-game ritual, but make it kernel thread.zone_actionβ the action to be performed in each zone. the main character doing the actual work in every zone, iykyk.conclusionβ the method to run on the initiator thread after the action is applied to each zone.</the> cleanup era on the initiator thread, obsessively after the zone action is done.parentβ the object to notify when the action is complete. ping bestie when itβs finished, basically.contextβ the action specific context. the lil action-specific bag of stuff it needs.nextβ the action to perform after this one. the queue said βand then?β and this field said βsay less.β π
π₯ SEE ALSO π₯
Kernel file./drivers/md/dm-vdo/action-manager.cstructaction_manager(9),vdo_make_action_manager(9),vdo_schedule_default_action(9),vdo_schedule_action(9),vdo_schedule_operation(9),vdo_schedule_operation_with_context(9)
Mwah π β source/version: ./drivers/md/dm-vdo, dated October 2026. struct action(9) out! π¦ππ
π¦ 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