throtl_peek_queued(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… throtl_peek_queued(9) πŸ’…

okay bestie so you're in the Kernel API Manual and the page you opened is throtl_peek_queued β€” yes, that's the one, section 9, we're deep in kernel land and honestly? it's giving backstage-pass energy 🎟️✨


🌸 NAME 🌸

throtl_peek_queued β€” peek the first bio on a qnode list πŸ‘€

like, just a lil peek. not a grab. we're window-shopping the bio list, not buying πŸ›οΈ


✨ SYNOPSIS ✨

struct bio * throtl_peek_queued (struct list_head *queued );

that's the whole signature, character for character, no cap. struct bio * comes back out, struct list_head *queued goes in, and the space before the closing paren is exactly like that. do not come for me, that's how it's written 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • queued β€” the qnode list to peek at πŸ‘€ it's the list you're being nosy about, that's it, that's the whole parameter

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe check on how this thing behaves:

always take a bio from the head of the iops queue first. always. head of the line, first in the door, main character of the queue πŸ”₯

and if that queue is empty? then we take it from the bps queue instead β€” because the whole overall idea is fetching bios from the head, and we're keeping that energy no matter which queue we end up pulling from πŸ’–

so: iops head first, bps head as the fallback, and the "fetch from the head" philosophy stays intact the whole time. slay πŸ’…


🌈 SEE ALSO 🌈


ngl the whole friend group hangs out in ./block/blk-throttle.c β€” that's the squad, that's the group chat, that's where all these functions live πŸ πŸ’œ

mwah πŸ’‹ this page was signed off from ./block in October 2026 β€” go forth and peek responsibly, bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from