ENUM PRIO_POLICY(9)
π
enum prio_policy(9) β Kernel API Manual π
okay bestie, welcome to the manual page for enum prio_policy(9) β yes, the manual name is right there, and this whole page is a Kernel API Manual moment about the I/O priority class policy. slay. π
π NAME π
enum prio_policy β I/O priority class policy. That's the whole name vibe, no cap. β¨
β¨ SYNOPSIS β¨
enum prio_policy {
POLICY_NO_CHANGE ,
POLICY_PROMOTE_TO_RT ,
POLICY_RESTRICT_TO_BE ,
POLICY_ALL_TO_IDLE ,
POLICY_NONE_TO_RT
};
πΈ Constants πΈ
POLICY_NO_CHANGEβ the default behavior, bestie: do not modify the I/O priority class. Leave it exactly where it is. π«ΆPOLICY_PROMOTE_TO_RTβ this one modifiesno-IOPRIO_CLASS_RTtoIOPRIO_CLASS_RT. literally a promotion arc. πPOLICY_RESTRICT_TO_BEβ this one modifiesIOPRIO_CLASS_NONEandIOPRIO_CLASS_RTintoIOPRIO_CLASS_BE. it's giving restriction, but make it organized. πPOLICY_ALL_TO_IDLEβ changes the I/O priority class intoIOPRIO_CLASS_IDLE. everyone to idle, no exceptions. πPOLICY_NONE_TO_RTβ an alias forPOLICY_PROMOTE_TO_RT. same energy, different name, iykyk. π
π¦ Description π¦
also see <linux/ioprio.h> β that's the SEE ALSO reference, bestie, keep it in mind. β¨
π SEE ALSO π
- Kernel file
./block/blk-ioprio.c struct ioprio_blkcg(9)
and that's the page, bestie. source/version info: ./block; date: October 2026; manual name: enum prio_policy(9) β byeee, go be iconic with your I/O priority class policy πβ¨
π¦ 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