blkcg_unpin_online(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… blkcg_unpin_online(9) β€” like, the kernel API manual, bestie

okay so real talk, this page lives in the Kernel API Manual (section 9, the fun one), and it's all about blkcg_unpin_online β€” one tiny function doing the most important cleanup chore in the whole blkcg friend group. let's get into it πŸŽ€


✨ NAME ✨

blkcg_unpin_online β€” unpin online state πŸ¦‹


✨ SYNOPSIS ✨

void blkcg_unpin_online (struct cgroup_subsys_state *blkcg_css );

✨ ARGUMENTS ✨

  • blkcg_css β€” the blkcg of interest πŸ’– (yes, that's the whole description, it's giving minimal icon behavior)

✨ DESCRIPTION ✨

so like, this one's basically a matching service for lifetimes, no cap πŸ’…

It's primarily used to impedance-match blkg and cgwb lifetimes β€” which is a fancy way of saying it keeps their vibes in sync so that a blkg doesn't go offline while an associated cgwb is still out there being active and living its life 😭

And here's the main character moment: when this count goes to zero, that means all active cgwbs have finished βœ… so the blkcg can continue destruction by calling blkcg_destroy_blkgs. periodt. 🫢

no skipping ahead, bestie β€” the count hitting zero is the vibe check that says "we're clear, go ahead and clean up." 🌸

✨ SEE ALSO ✨

Kernel file ./block/blk-cgroup.c πŸ‘‘ and honestly the whole extended friend group:


and that's the whole page, bestie β€” mwah πŸ’‹ it comes to you straight from ./block, dated October 2026, under the blkcg_unpin_online(9) banner. slay, bye! 🌈⭐

πŸ“¦ where this page comes from