bfq_pd_offline(9)
π 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:
bfq_stat_add(9)bfq_stat_read(9)bfq_stat_reset(9)bfq_stat_add_aux(9)blkg_prfill_stat(9)bfq_bfqq_move(9)__bfq_bic_change_cgroup(9)bfq_flush_idle_tree(9)bfq_reparent_leaf_entity(9)bfq_reparent_active_queues(9)
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
- 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