bfq_pd_offline(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bfq_pd_offline β€” the kernel API glow-up, section 9 πŸŽ€

okay so bestie, you're in the Kernel API Manual (section 9, we love a manual section that's just for the kernel girlies) and today's main character is bfq_pd_offline ✨


🌸 NAME 🌸

bfq_pd_offline β€” deactivates the entity associated with @pd, and reparents its children entities 🫢

fr fr that's the whole vibe: this entity is going offline, and its kids get a new parent. no entity left behind πŸ’–

🌈 SYNOPSIS 🌈

void bfq_pd_offline (struct blkg_policy_data *pd );

literally that's it, that's the signature πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pd β€” the descriptor of the policy that's going offline. that's the whole argument, she's simple and she knows it πŸ’…

✨ DESCRIPTION ✨

so here's the tea β˜•: blkio already grabs the queue_lock for us, so no need to use RCU-based magic 🧚

like, the locking is already handled, bestie β€” don't go adding RCU sorcery where none is needed, that's not the vibe 😭


πŸ’œ SEE ALSO πŸ’œ

kernel file ./block/bfq-cgroup.c 🌸 and all her friends:

iykyk, the whole cgroup squad is linked up there πŸ”₯


πŸŽ€ the cute sign-off πŸŽ€

this lil page lives in ./block, and it's dated October 2026 β€” yes, the future, she's ahead of her time ⭐ that's the source and version info, all accounted for, no cap πŸ’–

okay bye bestie, go reparent those entities responsibly πŸ¦‹πŸ’…

πŸ“¦ where this page comes from