STRUCT NILFS_CSTAGE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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, and nilfs_sc_cstage_get. no direct touching, periodt.
  • flags β€” state flags. that's it, that's the vibe check 🫢
  • dirty_file_ptr β€” pointer on dirty_files list, 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