bfq_update_min(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bfq_update_min(9)

okay so bestie, we're in the Kernel API Manual today and this one is literally the glow-up artist for min_start πŸ’–


✨ NAME ✨

bfq_update_min β€” update the min_start field of a entity. periodt.


🌸 SYNOPSIS 🌸

void bfq_update_min (struct bfq_entity *entity , struct rb_node *node );

πŸŽ€ ARGUMENTS πŸŽ€

  • entity β€” the entity to update. yeah. the main character of this whole operation πŸ‘‘
  • node β€” one of its children. literally just one of the kids 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe check: this function gets called when entity may be storing an invalid value for min_start, and the reason is that the active tree got updated underneath it 😭 like, things moved, bestie, and now that field is giving stale.

the function also assumes that the subtree rooted at node has a valid min_start value β€” and note that node may be its left or its right child, both are valid, no cap. so don't come at it with a bogus subtree, because it's trusting you on that one fr fr πŸ™ˆ


🌈 SEE ALSO 🌈

Kernel file ./block/bfq-wf2q.c β€” and the whole friend group, because this icon does not function alone:


aaaand that's the whole page, mwah πŸ’‹ this came out of ./block in October 2026 β€” go stan, iykyk πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from