ENUM PRIO_POLICY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 modifies no-IOPRIO_CLASS_RT to IOPRIO_CLASS_RT. literally a promotion arc. πŸ‘‘
  • POLICY_RESTRICT_TO_BE β€” this one modifies IOPRIO_CLASS_NONE and IOPRIO_CLASS_RT into IOPRIO_CLASS_BE. it's giving restriction, but make it organized. πŸ’…
  • POLICY_ALL_TO_IDLE β€” changes the I/O priority class into IOPRIO_CLASS_IDLE. everyone to idle, no exceptions. πŸ’€
  • POLICY_NONE_TO_RT β€” an alias for POLICY_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