vdo_finish_operation(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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