inode_cgwb_enabled(9)
π 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 π
- Kernel file
./include/linux/backing-dev.h writeback_in_progress(9)wb_find_current(9)wb_get_create_current(9)inode_to_wb(9)unlocked_inode_to_wb_begin(9)unlocked_inode_to_wb_end(9)
cute sign-off: this page came from the./include/linuxsource, October 2026, and it is theinode_cgwb_enabled(9)manual page. mwah ππ«Ά
π¦ 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