blkcg_add_delay(9)
π 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 π
blkcg_css(9)blkg_free(9)bio_blkcg_css(9)blkcg_parent(9)blkg_alloc(9)blkg_lookup_create(9)blkcg_print_blkgs(9)__blkg_prfill_u64(9)blkg_conf_init(9)blkg_conf_open_bdev(9)blkg_conf_prep(9)blkg_conf_unprep(9)blkg_conf_close_bdev(9)blkcg_destroy_blkgs(9)blkcg_pin_online(9)blkcg_unpin_online(9)blkcg_css_offline(9)blkcg_activate_policy(9)blkcg_deactivate_policy(9)blkcg_policy_register(9)blkcg_policy_unregister(9)blkcg_maybe_throttle_current(9)blkcg_schedule_throttle(9)blkg_tryget_closest(9)bio_associate_blkg_from_css(9)bio_associate_blkg(9)bio_clone_blkg_association(9)
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
- 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