assert_on_flusher_thread(9)
π assert_on_flusher_thread(9)
okay so bestie, we're in the Kernel API Manual today and this one is short and sweet β literally a vibe check for your kernel thread. no cap. π«Ά
β¨ NAME β¨
assert_on_flusher_thread β Check that we are on the flusher thread. π
like, that's the whole personality. we are verifying we're standing on the right thread. periodt.
πΈ SYNOPSIS πΈ
void assert_on_flusher_thread (struct flusher *flusher , const char *caller );
returns nothing (void), takes two args, checks a vibe. iconic behaviour honestly. π
π¦ ARGUMENTS π¦
flusherβ The flusher. π« (yes that's the whole description and honestly? she said what she said.)callerβ The function which is asserting. π like the little name tag for whoever's doing the checking.
π SEE ALSO π
the whole flusher friend group π«Ά β all living in Kernel file ./drivers/md/dm-vdo/flush.c, and they're all in the group chat:
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)finish_notification(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)
β sign-off β
this lil masterpiece lives in ./drivers/md/dm-vdo, dated October 2026, manual section assert_on_flusher_thread(9) β go off, flusher thread, we're obsessed. π§ππ₯
π¦ 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