most_write_completion(9)
β¨ most_write_completion β kernel API bestie edition π
okay so this is most_write_completion(9), a kernel API page, and it's genuinely one of the shorter ones so we can totally get through it together π«Ά
πΈ NAME πΈ
most_write_completion β the write completion handler, aka the little function that cleans up after a write is done β¨
π SYNOPSIS π
void most_write_completion (struct mbo *mbo );
that's it. one function, one argument, no drama π
π¦ ARGUMENTS π¦
mboβ the most buffer, bestie. that's the whole argument. it's giving "minimalist icon" π
π DESCRIPTION π
so what does it do? This recycles the MBO for further usage. π like, it takes the buffer and puts it back in rotation so it can be used again β reduce, reuse, recycle but make it kernel β¨
In case the channel has been poisoned, the MBO is scheduled to be trashed. π yeah, if the channel got poisoned then the MBO doesn't get recycled, it gets scheduled to be trashed instead. no cap, that's the whole behaviour.
π SEE ALSO π
the whole friend group, fr fr β these all live in the kernel file ./drivers/most/core.c:
list_pop_mbo(9)most_free_mbo_coherent(9)flush_channel_fifos(9)flush_trash_fifo(9)get_channel(9)arm_mbo(9)arm_mbo_chain(9)most_submit_mbo(9)most_get_mbo(9)most_put_mbo(9)most_read_completion(9)most_start_channel(9)most_stop_channel(9)most_register_component(9)most_deregister_component(9)most_register_interface(9)most_deregister_interface(9)most_stop_enqueue(9)most_resume_enqueue(9)
and that's the page!! go read the whole squad above if you wanna understand the full picture, iykyk π₯
signed, sealed, delivered β from ./drivers/most π, October 2026 edition, most_write_completion(9) era π§β
π¦ 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