ENUM PSZ_FLUSH_MODE(9)
π 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:
struct psz_buffer(9)struct psz_kmsg_header(9)struct pstore_zone(9)struct psz_context(9)psz_recovery(9)register_pstore_zone(9)unregister_pstore_zone(9)
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
- 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