throtl_qnode_add_bio(9)
π
throtl_qnode_add_bio β kernel API manual, section 9 π
okay bestie, welcome to throtl_qnode_add_bio(9), straight outta the Kernel API Manual β¨ this one's short and sweet, but it's doing real work, so let's get into it π«Ά
β¨ NAME β¨
throtl_qnode_add_bio β add a bio to a throtl_qnode and activate it π
πΈ SYNOPSIS πΈ
void throtl_qnode_add_bio (struct bio *bio , struct throtl_qnode *qn ,
struct throtl_service_queue *sq );
no cap, that's the whole signature β three pointers in, void out, nothing returned π
π¦ ARGUMENTS π¦
bioβ the bio being added π like, the actual payload bestieqnβ the qnode you're adding that bio to πsqβ theservice_queuethatqnbelongs to π (yes, the qnode has a home, and this is it)
π DESCRIPTION π
okay so here's the vibe: you add bio to qn, and if qn isn't already sitting on sq->queued, this puts it there β activating it, main character energy β
and here's the part that lowkey matters: when qn gets activated, qn->tg's reference count gets bumped π so like, that refcount goes up, bestie, don't forget it.
β¨ for the full lore, the manpage says to see the comment on top of the throtl_qnode definition β that's where the details live, iykyk π
π SEE ALSO π
- Kernel file
./block/blk-throttle.cβ the whole squad lives here π sq_to_tg(9)sq_to_td(9)throtl_log(9)throtl_peek_queued(9)throtl_pop_queued(9)throtl_schedule_next_dispatch(9)throtl_add_bio_tg(9)throtl_pending_timer_fn(9)blk_throtl_dispatch_work_fn(9)
and that's the page, bestie π this little icon comes to you from ./block, dated October 2026, and it's literally called throtl_qnode_add_bio(9) β periodt, go bump those refcounts responsibly π§ββοΈπ
π¦ 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