cgroup_writeback_by_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

cgroup_writeback_by_id(9) πŸ’…βœ¨

✨ NAME ✨

cgroup_writeback_by_id β€” initiate cgroup writeback from bdi and memcg IDs. okay so this page is straight out of the Kernel API Manual, and it's literally the β€œstart the flush by IDs” moment. no cap, we're keeping every detail, bestie. πŸ’–

πŸ’… SYNOPSIS πŸ’…

here's the exact signature, character-for-character, do not @ me:

int cgroup_writeback_by_id (u64 bdi_id , int memcg_id , enum wb_reason
       reason , struct wb_completion *done );

the signature says it returns int, and the vibe is very kernel API. πŸ’€

πŸŽ€ ARGUMENTS πŸŽ€

four args, all main characters:

  • bdi_id β€” target bdi id, the one and only. πŸ¦‹
  • memcg_id β€” target memcg css id, slay. 🌸
  • reason β€” reason why some writeback work initiated; it's giving context. πŸ’…
  • done β€” target wb_completion, the completion bestie. 🫢

🌈 DESCRIPTION 🌈

okay so what it does: initiate flush of the bdi_writeback identified by bdi_id and memcg_id with the specified parameters. that's the whole description, and honestly it ate. ✨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./fs/fs-writeback.c is where this lives, and here are all the related besties β€” no skips, periodt:


mwah πŸ’‹ this cutie is from the ./fs source/version and is dated October 2026 β€” title still cgroup_writeback_by_id(9), bye bestie! πŸŽ€

πŸ“¦ where this page comes from