vdo_finish_l..._with_result(9)
π NAME π
okay so bestie, gather round β this page is from the Kernel API Manual and it's all about vdo_finish_loading_with_result π which, no cap, does exactly what it says on the tin: it finishes up a load operation and hands back a status code. literally that's the whole vibe. β¨
πΈ SYNOPSIS πΈ
bool vdo_finish_loading_with_result (struct admin_state *state , int result );
like. that's it. that's the whole call. two args, one bool coming back at you π«Ά
π¦ ARGUMENTS π¦
stateβ the current admin state, bestie. the state of the admin. the admin's state. you get it πresultβ the result of the load operation π like, whatever happened while stuff was loading, it goes right here.
β RETURN β
returns true if the state was loading π and if it was, it will notify the waiter β so whoever's waiting on this thing gets the heads up, periodt. no true, no notify. iykyk. π₯
π§ SEE ALSO π§
the kernel file is ./drivers/md/dm-vdo/admin-state.c π and honestly the whole friend group is here, so let me introduce everyone:
get_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)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)
like a whole ensemble cast, main character energy every single one π
ngl this one's short and sweet β no drama, no deprecated nonsense, no scary warnings. just a lil load-finisher doing its job π§ββοΈ
and that's the tea, bestie π this was vdo_finish_l..._with_result(9) from ./drivers/md/dm-vdo, dated October 2026 β mwah, slay, bye β¨π
π
π¦ 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