inode_cgwb_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– inode_cgwb_enabled(9) β€” Kernel API Manual πŸ’–

okay bestie, welcome to the Kernel API Manual page for inode_cgwb_enabled(9) β€” it’s giving β€œtiny bool, big cgroup writeback energy” ✨


🌸 NAME 🌸

inode_cgwb_enabled β€” test whether cgroup writeback is enabled on an inode πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

bool inode_cgwb_enabled (struct inode *inode );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • inode β€” the inode of interest πŸ‘€

πŸ’œ DESCRIPTION πŸ’œ

Cgroup writeback requires support from the filesystem. Also, both memcg and iocg have to be on the default hierarchy. This function tests whether all of those conditions are met β€” literal vibe check for cgroup writeback πŸ‘‘

Heads up, bestie: the test result may change dynamically on the same inode depending on how memcg and iocg are configured. So yeah, the same inode can absolutely switch up its answer 😭


🌈 SEE ALSO 🌈


cute sign-off: this page came from the ./include/linux source, October 2026, and it is the inode_cgwb_enabled(9) manual page. mwah πŸ’‹πŸ«Ά
πŸ“¦ where this page comes from