vdo_set_completion_result(9)
π vdo_set_completion_result(9) β like, the Kernel API Manual one, bestie
okay so picture this: you're deep in the kernel, you've got a completion, and you just need to tell it how things went. that's the whole vibe of this page. it's a function page from the Kernel API Manual, and honestly? it's short, it's sweet, it ate. let's go β¨
πΈ NAME πΈ
vdo_set_completion_result β set the result of a completion. that's it. that's the job. no cap π
π¦ SYNOPSIS π¦
void vdo_set_completion_result (struct vdo_completion *completion , int result );
literally just hand it a completion and a result and it does the thing π«Ά
π ARGUMENTS π
completionβ the completion you want to update. your main character completion, if you will.resultβ the result you're setting on it. yes, that's really the name. iconic, no notes.
π DESCRIPTION π
so here's the one (1) thing you actually need to know, and it's kind of important:
older errors will not be masked. π
that's the whole description. it's giving minimal but it matters. you can't just paper over an old error by slapping a fresh result on there β that error is staying visible, periodt. π
π₯ SEE ALSO π₯
- kernel file
./drivers/md/dm-vdo/completion.cβ vdo completions.(9) π vdo_launch_completion_with_priority(9)vdo_requeue_completion_if_needed(9)
like, if you're setting a result you're probably gonna wanna launch or requeue something too, iykyk π§
β in conclusion β
that's the whole page, bestie β go set some results responsibly. π
cute little sign-off: this lil page lives in ./drivers/md/dm-vdo, dated October 2026. screenshotted for the group chat πβ¨
π¦ 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