vdo_finish_operation(9)
okay so welcome to the vdo_finish_operation(9) page from the Kernel API Manual, bestie π this one is short but important, no cap.
β¨ NAME β¨
vdo_finish_operation β finish the current operation, periodt π
πΈ SYNOPSIS πΈ
bool vdo_finish_operation (struct admin_state *state , int result );
π ARGUMENTS π
stateβ the current admin state, like the main character of this whole situation πresultβ the result of the operation, aka the tea on how it went π
π¦ DESCRIPTION π¦
It will notify the operation waiter if there is one. lowkey polite of it tbh π«Ά
This method should be used for operations started with vdo_start_operation. For operations which were started with vdo_start_draining, use vdo_finish_draining instead. that's the rule, bestie β don't mix up the draining girlies with the operation girlies π
π RETURN π
true if there was an operation to finish. that's the vibe check β
π SEE ALSO π
Kernel file ./drivers/md/dm-vdo/admin-state.c, plus this whole friend group: get_next_state(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(9), vdo_start_operation_with_waiter(9) β iykyk π«
mwah π this cutie came from the ./drivers/md/dm-vdo source, Kernel API Manual, dated October 2026 π
π¦ 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