ENUM PSZ_FLUSH_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum psz_flush_mode(9)

okay bestie, welcome to the Kernel API Manual β€” this one's a lil enum from the kernel, and honestly? it's giving "small but mighty" πŸŽ€

✨ NAME ✨

enum psz_flush_mode β€” literally the flush mode you pass to psz_zone_write() 🌸 iykyk

πŸ¦‹ SYNOPSIS πŸ¦‹

enum psz_flush_mode {
    FLUSH_NONE ,
    FLUSH_PART ,
    FLUSH_META ,
    FLUSH_ALL

};

that's the whole vibe. four constants, zero drama ✨


πŸŽ€ Constants πŸŽ€

  • FLUSH_NONE β€” do not flush to storage, but do update the data in memory 🧠✨ (so like, it's living in RAM, main character energy, not on disk yet)
  • FLUSH_PART β€” just flush part of the data to storage, and that part includes the meta data 🫢
  • FLUSH_META β€” just flush the meta data of the zone to storage, nothing more, no cap πŸ’…
  • FLUSH_ALL β€” flush all of the zone. the whole thing. periodt πŸ”₯

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./fs/pstore/zone.c β€” and the whole friend group:


ngl bestie, that's the whole page β€” no hidden lore, no plot twists, just four flush modes and their whole entourage πŸ¦‹

okay so that's a wrap! this lil page comes from ./fs/pstore, dated October 2026, and it's filed under enum psz_flush_mode(9) 🌈 go forth and flush responsibly, queen πŸ‘‘πŸ’–

πŸ“¦ where this page comes from