queue_limit...pdate_frozen(9)
π queue_limits_commit_update_frozen β¨
okay so bestie, we're in the Kernel API Manual today and this one's a (9) page, which means it's kernel-internal lore. the full name is queue_limits_commit_update_frozen (the header line squishes it down to queue_limit...pdate_frozen(9) because terminals are dramatic and have limited space, not because the name is short, iykyk π).
πΈ NAME πΈ
queue_limits_commit_update_frozen β commit an atomic update of queue limits. that's the whole vibe. it commits, it's atomic, and it freezes stuff. no cap. π
π¦ SYNOPSIS π¦
int queue_limits_commit_update_frozen (struct request_queue *q , struct queue_limits *lim );
like literally the entire function signature, character for character, slay. π₯
β¨ ARGUMENTS β¨
qβ the queue to update. the main character, the one getting its limits refreshed πlimβ the limits to apply. the payload, the moment, the actual values π
π DESCRIPTION π
so here's the tea π: you take the limits in lim β the ones you grabbed from queue_limits_start_update and then edited with your shiny new values β and you apply them to q. that's the whole job. apply, commit, done.
but the iconic part? it freezes the queue before the update and unfreezes it after. so nothing's out here moving around mid-update. it's giving locked-room energy except the room is a request queue and the lock is a freeze πβ¨. very thoughtful, very responsible, we love a safe atomic update.
returns 0 if successful, else a negative error code. so if it's not zero, something went sideways and the number will be negative about it ππ.
fr fr, always check the return value. 0 = we ate. negative = we did not eat. π«Ά
π SEE ALSO π
the kernel file ./block/blk-settings.c is where this all lives, and these are its friends in the group chat π¬:
blk_set_stacking_limits(9)queue_limits_commit_update(9)queue_limits_set(9)blk_stack_limits(9)queue_limits_stack_bdev(9)queue_limits_stack_integrity(9)blk_set_queue_depth(9)
okay that's the page!! π§ this whole thing lives in ./block, and the version/date stamp on it is October 2026, with the manpage name queue_limit...pdate_frozen(9) β yes it's still squished, she's still iconic, we're still 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