blkcg_add_delay(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… blkcg_add_delay(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual page for blkcg_add_delay(9), and honestly? it's giving "tiny function, big responsibilities" energy. let's get into it 🫢


✨ NAME ✨

blkcg_add_delay β€” add delay to this blkg ✨

like, literally that. it adds delay. to this blkg. no notes. πŸ’…


🌸 SYNOPSIS 🌸

void blkcg_add_delay (struct blkcg_gq *blkg , u64 now , u64 delta );

returns void btw, so it's not gonna hand you back a value β€” it just does the thing and dips 😌


πŸŽ€ ARGUMENTS πŸŽ€

  • blkg β€” the blkg of interest πŸ‘€ (this is the one we're charging, bestie)
  • now β€” the current time, measured in nanoseconds ⏱️
  • delta β€” how many nanoseconds of delay we're adding 🫢

πŸ’– DESCRIPTION πŸ’–

so the whole vibe here is: you charge delta to the blkg's current delay accumulation. that's it. that's the function. 🧚

and why, you ask? because this bad boy is used to throttle tasks if an I/O controller thinks we need more throttling πŸ”₯ like, it's the mechanism that says "mm, maybe slow down a lil" β€” and it's lowkey iconic for it. no cap.


πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group lives in the kernel file ./block/blk-cgroup.c, and honestly they all ate πŸ‘‘


and that's the whole page, bestie πŸ’œ ngl it was short but it served. this icon of a manpage comes to you from ./block, version October 2026, filed under blkcg_add_delay(9) β€” mwah, stan it, periodt πŸŽ€πŸ’…βœ¨

πŸ“¦ where this page comes from