vdo_finish_..._with_result(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vdo_finish_resuming_with_result β€” like, the Kernel API Manual edition πŸŽ€

okay so bestie, welcome to the glow-up of vdo_finish_resuming_with_result(9), straight out of the Kernel API Manual. this one is a little cutie from the dm-vdo admin-state saga, and it's lowkey the "wrap it up" bestie of the resume operation. let's get into it ✨


🌸 NAME 🌸

vdo_finish_resuming_with_result β€” the function that finishes a resume operation with a status code. that's it, that's the vibe. πŸ’–


✨ SYNOPSIS ✨

bool vdo_finish_resuming_with_result (struct admin_state *state , int
result );

so she takes an admin state and a result, and she gives you back a bool. iconic signature tbh 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • state β€” the current admin state. yes, the current one, not some other one, we're not doing that today πŸ’…
  • result β€” the result of the resume operation. like, how did the resume go? you tell her here. πŸ“

πŸŽ€ RETURN πŸŽ€

returns true if the state was resuming; and if it was, she will notify the waiter. so thoughtful of her, honestly. 🌸

no cap, that's the whole return contract β€” true = was resuming, and the waiter gets notified. don't sleep on the notification part bestie 😭

πŸ”₯ SEE ALSO πŸ”₯

okay this is the part where we tag literally everyone in the group chat. all of these live in the kernel file ./drivers/md/dm-vdo/admin-state.c:

like, the whole admin-state friend group fr fr 🫢🌈


and that's the page! she lives in ./drivers/md/dm-vdo, she's stamped October 2026, and she's filed under vdo_finish_..._with_result(9) in the Kernel API Manual. mwah, go finish some resumes bestie πŸ’‹πŸ‘‘β­
πŸ“¦ where this page comes from