queue_limits...ck_integrity(9)
πΈ queue_limits_stack_integrity β like, the stacking of the integrity profile, bestie πΈ
okay so real talk, this one lives in the Kernel API Manual and it's a bool function, so she's giving very much yes-or-no main character energy. Let's get into it β¨
β¨ SYNOPSIS β¨
bool queue_limits_stack_integrity (struct queue_limits *t , struct queue_limits *b );
like literally that's the whole vibe. two pointers, one bool, zero drama π
π ARGUMENTS π
tβ the target queue limits π― like where we're trying to stack stuff intobβ the base queue limits π§± the source of the integrity tea
π¦ DESCRIPTION π¦
okay so what she actually does: she checks whether the integrity profile sitting in b can be stacked into the target t. and ngl, stacking is possible if either of these two moods is happening:
a) t does not have any integrity information stacked into it yet β like a clean slate, a fresh notebook, untouched π«Ά b) the integrity profile in b is identical to the one in t β same energy, matching fits, no cap π
if b can be stacked into t, she returns true. slay. π
but if it can't? she returns false and clears the integrity information in t π so like, heads up β this function has consequences, it's not just vibes and a return value. the target gets wiped of its integrity info on the way out. periodt.
fr fr though β that "clear the integrity information in t" part is real. don't sleep on it π
π SEE ALSO π
kernel file ./block/blk-settings.c, plus the whole friend group:
blk_set_stacking_limits(9)queue_limits_commit_update(9)queue_limits_commit_update_frozen(9)queue_limits_set(9)blk_stack_limits(9)queue_limits_stack_bdev(9)blk_set_queue_depth(9)
go read them, they're iconic too, iykyk πβ¨
π«Ά and that's the page!! this one came out of ./block, dated October 2026, and yeah the man page name is like queue_limits...ck_integrity(9) in the header/footer because apparently we're abbreviating now π anyway love u, bye bestie πππ¦
π¦ 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