STRUCT NILFS_CSTAGE(9)
π¦ struct nilfs_cstage(9) π¦
okay bestie, welcome to the Kernel API Manual π β this page is all about struct nilfs_cstage, and it's literally the context of collection stage. no cap.
π NAME π
struct nilfs_cstage β Context of collection stage.
β¨ SYNOPSIS β¨
the whole struct, exactly as it's giving:
struct nilfs_cstage {
int scnt;
unsigned int flags;
struct nilfs_inode_info *dirty_file_ptr;
struct nilfs_inode_info *gc_inode_ptr;
};
π Members π
scntβ the stage count, bestie. You must access it via the wrappers:nilfs_sc_cstage_inc,nilfs_sc_cstage_set, andnilfs_sc_cstage_get. no direct touching, periodt.flagsβ state flags. that's it, that's the vibe check π«Άdirty_file_ptrβ pointer ondirty_fileslist, or inode of a target file. iykyk.gc_inode_ptrβ pointer on the list of gc-inodes.
π SEE ALSO π
peep these for the full lore:
- Kernel file
./fs/nilfs2/segment.h struct nilfs_recovery_info(9)struct nilfs_sc_info(9)
mwah π β signed from ./fs/nilfs2, October 2026, all about struct nilfs_cstage(9) π«Ά
π¦ 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