vdo_start_operation(9)
π vdo_start_operation(9) β Kernel API Manual realness β¨
okay bestie, buckle up, this is vdo_start_operation from the kernel API manual and it's literally the "can we start this operation or nah" gatekeeper π
πΈ NAME πΈ
vdo_start_operation β the function that attempts to start an operation, no cap π
β¨ SYNOPSIS β¨
int vdo_start_operation (struct admin_state *state , const struct
admin_state_code *operation );
like, that's the whole signature, she's petite but she's powerful π«Ά
π¦ ARGUMENTS π¦
stateβ the current admin state, aka the vibe check we're running this operation against πoperationβ the operation we're attempting to start, bestie. attempt is the key word here π
π RETURN π
VDO_SUCCESS if the operation was started, VDO_INVALID_ADMIN_STATE if not π
so iconic: either it slays and returnsVDO_SUCCESS, or it does not start and hands you backVDO_INVALID_ADMIN_STATE. those are the only two options, periodt π―
π SEE ALSO π
the whole friend group is here, fr fr π₯
- Kernel file
./drivers/md/dm-vdo/admin-state.candget_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_start_resuming(9)vdo_finish_resuming(9)vdo_finish_resuming_with_result(9)vdo_resume_if_quiescent(9)vdo_start_operation_with_waiter(9)
like and subscribe toadmin-state.cin./drivers/md/dm-vdo, she's the main character here π§
okay that's the page!! sourced from ./drivers/md/dm-vdo, dated October 2026, all about vdo_start_operation(9) β mwah, go start some operations 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