queue_limit...pdate_frozen(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ’¬:


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