__bfq_bic_change_cgroup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __bfq_bic_change_cgroup(9) β€” a Kernel API Manual moment πŸŽ€

okay bestie, welcome to the Kernel API Manual entry for __bfq_bic_change_cgroup β€” she's a void-returning queen with three struct pointers and zero chill. let's get into it ✨


🌸 NAME 🌸

__bfq_bic_change_cgroup β€” move @bic to @bfqg.

that's it. that's the whole name. she does one thing and she does it slayfully πŸ’…


✨ SYNOPSIS ✨

void __bfq_bic_change_cgroup (struct bfq_data *bfqd , struct bfq_io_cq
*bic , struct bfq_group *bfqg );

like, look at her. returns nothing (void, she gives nothing back, main character energy fr), takes three args, and she's not sorry about it 😌


πŸ¦‹ ARGUMENTS πŸ¦‹

  • bfqd β€” the queue descriptor. literally the queue's whole personality in one struct.
  • bic β€” the bic to move. she's the one getting relocated, bestie 🚚
  • bfqg β€” the group to move to. her new home. new cgroup, new me 🏑

🫢 DESCRIPTION 🫢

so what she actually does: she moves bic to blkcg, and she assumes that bfqd->lock is held. and like β€” that's not a suggestion, okay? that assumption is the whole reason the reference to the cgroup stays valid across the call 🫢

⚠️ fr fr, the bfqd->lock-held thing matters: it's what makes sure the cgroup reference stays valid for the entire call. don't be the one who forgets the lock πŸ’€

and if you want the full lore on why that matters, the original says to see the comments in bfq_bic_update_cgroup on this issue. go read the comments, bestie, they ate πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

that's the whole friend group. say hi to all of them for me 🌈


okay that's the page!! sourced from ./block, dated October 2026, and no cap it's giving iconic kernel documentation πŸ’– stay locked (bfqd->lock, obviously), stay valid, and I'll see you in the next manpage. mwah πŸ“πŸ’œ

πŸ“¦ where this page comes from