queue_limits_cancel_update(9)
β¨ queue_limits_cancel_update(9) β¨
Kernel API Manual β okay bestie, you're on the page for queue_limits_cancel_update(9), and honestly? It's a short one. A little cleanup queen of a function. Let's go π
πΈ NAME πΈ
queue_limits_cancel_update β cancel an atomic update of queue limits
No cap, that's the whole job description. She cancels. She updates nothing. She simply undoes.
π SYNOPSIS π
void queue_limits_cancel_update (struct request_queue *q );
POV: you call her with one pointer and she returns void, because she's not here to give you anything back β she's here to take the update away. Iconic behaviour tbh π«Ά
π¦ ARGUMENTS π¦
qβ queue to update. That's it. That's the whole argument list. She's low-maintenance like that β¨
π DESCRIPTION π
okay so here's the vibe: this function cancels an atomic update of the queue limits β the one that was started by queue_limits_start_update.
And when should you hit her up? when an error occurs after starting the update. That's literally her whole moment. Something went sideways mid-update? Bestie, call queue_limits_cancel_update and let her clean it up πΈ
fr fr, she exists for the error path. Don't leave your half-started atomic update hanging β that's not the vibe check you want to fail π
π SEE ALSO π
~ the reading list, curated with love ~ π
- Kernel file
./include/linux/blkdev.hgenhd capability flags(9) disk_openers(9)disk_has_partscan(9)bio_needs_zone_write_plugging(9)disk_zone_capacity(9)blk_alloc_disk(9)queue_limits_start_update(9)bio_end_io_acct(9)
and that's the whole page, bestie!! π this little baddie lives over in ./include/linux, the version stamp says October 2026, and the page signs off as queue_limits_cancel_update(9) β go forth and cancel those updates responsibly π§π«
π¦ 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