finish_notification(9)
π finish_notification(9) π
okay so bestie, welcome to the Kernel API Manual β yes that's the whole manual name, and yes this little function lives rent-free in it. buckle up, it's a short one but it's iconic π
β¨ NAME β¨
finish_notification β literally just wraps up the notification process. that's it. that's the vibe. periodt π
πΈ SYNOPSIS πΈ
void finish_notification (struct vdo_completion *completion );
no return value, no drama, just vibes and a single pointer π¦
π ARGUMENTS π
completionβ the flusher completion. that's the one. your main character struct of this whole function π«Ά
π§ DESCRIPTION π§
so here's the tea β β finish_notification finishes the notification process. how, you ask? it does two (2) things, and honestly? slay:
- it checks if any flushes have completed β
- then it starts the notification of the next flush request β but only if one came in while the current notification was already in progress π₯
like, it's giving "clean up, then see if anyone's waiting in the group chat" energy, yk? very considerate, very polite, no cap π
also important, don't skip this part: this callback is registered in flush_packer_callback. that's the plug. that's where it gets hooked up. iykyk β¨
ngl, this is a callback β so you're not out here calling it yourself in your main character arc. it gets invoked through the registration, bestie. respect the flow π
π SEE ALSO π
Kernel file ./drivers/md/dm-vdo/flush.c β plus the whole friend group, and honestly they're all here, no one got left out of the group photo πΈ:
assert_on_flusher_thread(9)as_flusher(9)completion_as_vdo_flush(9)vdo_waiter_as_flush(9)vdo_make_flusher(9)vdo_free_flusher(9)vdo_get_flusher_thread_id(9)flush_packer_callback(9)increment_generation(9)notify_flush(9)flush_vdo(9)check_for_drain_complete(9)vdo_complete_flushes(9)vdo_dump_flusher(9)initialize_flush(9)vdo_launch_flush(9)release_flush(9)vdo_complete_flush_callback(9)select_bio_queue(9)vdo_complete_flush(9)vdo_drain_flusher(9)vdo_resume_flusher(9)
and that's the whole page, bestie β go forth and notify responsibly π β¨
so this lil masterpiece lives down in ./drivers/md/dm-vdo, dated October 2026, and it goes by finish_notification(9). mwah, 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