vdo_start_resuming(9)
π vdo_start_resuming(9) β the Kernel API Manual glow-up π
okay so bestie, welcome to vdo_start_resuming(9) from the Kernel API Manual β this is the little function that's like "hey, can we resume rn? if the vibe check passes, let's GO" β¨
πΈ NAME πΈ
vdo_start_resuming β initiate a resume operation if the current state permits it. that's it, that's the whole pitch π
π¦ SYNOPSIS π¦
bool vdo_start_resuming (struct admin_state *state , const struct
admin_state_code *operation , struct vdo_completion *waiter ,
vdo_admin_initiator_fn initiator );
literally the whole signature, no cap β copy it exactly or the compiler will absolutely come for you π
β¨ ARGUMENTS β¨
stateβ the current admin state. the main character of this whole thing, fr fr πoperationβ the type of resume to start. like, which flavor of resume are we doing πwaiterβ the completion to notify when the resume is complete; may beNULL. yes bestie,NULLis allowed, it's giving low-maintenance πinitiatorβ the vdo_admin_initiator_fn to call if the operation may begin; may beNULL. also optional, also unbothered π
π₯ RETURN π₯
returns true if the resume was initiated π β and if not, the waiter will be notified instead. so like, either way somebody's getting a message, don't worry π«Ά
π SEE ALSO π
the kernel file is ./drivers/md/dm-vdo/admin-state.c β that's where the magic lives, screenshot it πΈ
and here's the whole friend group, all of them, in order:
get_next_state(9)vdo_finish_operation(9)begin_operation(9)start_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_finish_resuming(9)vdo_finish_resuming_with_result(9)vdo_resume_if_quiescent(9)vdo_start_operation(9)vdo_start_operation_with_waiter(9)
ok that's the whole page bestie, every argument, every return value, every single SEE ALSO β nothing dropped, we ate and left no crumbs πβ¨
and that's a wrap on this one, brought to you by ./drivers/md/dm-vdo β October 2026 edition ποΈπ mwah, go forth and resume 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