ENUM P9_CACHE_SHORTCUTS(9)
β¨ NAME β¨
okay so bestie, this is enum p9_cache_shortcuts from the Kernel API Manual β it's literally the enum for human readable cache preferences. no cap, that's the whole vibe: cute lil named constants so you don't have to remember mystery numbers. π
πΈ SYNOPSIS πΈ
here's the enum exactly as it is, character for character, don't @ me:
enum p9_cache_shortcuts {
CACHE_SC_NONE ,
CACHE_SC_READAHEAD ,
CACHE_SC_MMAP ,
CACHE_SC_LOOSE ,
CACHE_SC_FSCACHE
};
π Constants π
CACHE_SC_NONEβ disable all caches. like, every single one. bye πCACHE_SC_READAHEADβ only provide caching for readahead. that's it, that's the whole job.CACHE_SC_MMAPβ provide caching to enablemmap. iconic behavior honestly π«ΆCACHE_SC_LOOSEβ non-coherent caching for files and meta data. lowkey chaotic but valid β¨CACHE_SC_FSCACHEβ persistent non-coherent caching for files and meta-data. main character energy fr fr π
π₯ SEE ALSO π₯
- Kernel file
./fs/9p/v9fs.hβ go peek atenum p9_cache_bits(9),struct v9fs_session_info(9),v9fs_get_inode_from_fid(9), andv9fs_get_new_inode_from_fid(9). iykyk π
mwah π this lil page lives at ./fs/9p and it's dated October 2026 β see u next time, bestie! π«Άβ¨
π¦ 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