start_operation(9)
π start_operation(9) β the Kernel API Manual glow-up π
okay so this is a page about start_operation, and it lives in the start_operation(9) section of the Kernel API Manual, bestie. it's a kernel function, it's lowkey iconic, and we're gonna get into it π«Ά
β¨ NAME β¨
start_operation β start an operation if it may be started given the current state. that "if" is doing so much work, fr fr π
πΈ SYNOPSIS πΈ
bool start_operation (struct admin_state *state , const struct
admin_state_code *operation , struct vdo_completion *waiter ,
vdo_admin_initiator_fn initiator );
π ARGUMENTS π
stateβ the current admin state, like, the whole vibe check of where things are at rn.operationβ the operation you're trying to get started. yes that one.waiterβ a completion to notify when the operation is complete; it may beNULL(no pressure, it's optional π ).initiatorβ thevdo_admin_initiator_fnto call if the operation may begin; it may beNULLtoo. we love a flexible parameter.
π RETURN π
true if the operation was started. that's it, that's the tea π
π¦ SEE ALSO π¦
so much lore to explore, and honestly? obsessed:
- Kernel file
./drivers/md/dm-vdo/admin-state.c get_next_state(9)vdo_finish_operation(9)begin_operation(9)check_code(9)assert_vdo_drain_operation(9)vdo_start_draining(9)vdo_finish_draining(9)vdo_finish_draining_with_result(9)vdo_assert_load_operation(9)vdo_start_loading(9)vdo_finish_loading(9)vdo_finish_loading_with_result(9)assert_vdo_resume_operation(9)vdo_start_resuming(9)vdo_finish_resuming(9)vdo_finish_resuming_with_result(9)vdo_resume_if_quiescent(9)vdo_start_operation(9)vdo_start_operation_with_waiter(9)
okay that's the whole page, no cap π this gem came out of ./drivers/md/dm-vdo and it's dated October 2026, so go forth and start operations responsibly, main character πβ
π¦ 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