STRUCT NILFS_RECOVERY_INFO(9)
πΈ struct nilfs_recovery_info(9) πΈ
okay so this is from the Kernel API Manual, bestie β and it's literally the struct nilfs_recovery_info page, aka your recovery-information era π
β¨ NAME β¨
struct nilfs_recovery_info β Recovery information. that's it, that's the vibe π«Ά
π¦ SYNOPSIS π¦
struct nilfs_recovery_info {
int ri_need_recovery;
sector_t ri_super_root;
__u64 ri_cno;
sector_t ri_lsegs_start;
sector_t ri_lsegs_end;
u64 ri_lsegs_start_seq;
struct list_head ri_used_segments;
sector_t ri_pseg_start;
u64 ri_seq;
__u64 ri_segnum;
__u64 ri_nextnum;
};
no cap, every single field is right there π copy it exact, we don't improvise structs.
π MEMBERS π
okay the members walk-through, and yes we're doing all of them, main character energy only β¨
ri_need_recoveryβ the recovery status. it tells you whether recovery is even in its little to-do list πri_super_rootβ block number of the last super root πri_cnoβ number of the last checkpoint. iconic checkpoint behavior βri_lsegs_startβ the region for roll-forwarding, start block number π«ri_lsegs_endβ the region for roll-forwarding, end block number. and yes it pairs withri_lsegs_startlike the duo they are π«Άri_lsegs_start_seqβ sequence value of the segment atri_lsegs_startπ₯ri_used_segmentsβ list of segments to be mark active π (that's the original wording, we keep it fr fr)ri_pseg_startβ block number of the last partial segment π¦ri_seqβ sequence number on the last partial segment πΈri_segnumβ segment number on the last partial segment πri_nextnumβ next segment number on the last partial segment π
ngl, if you're looking at these fields and going "wait which is the last partial segment", it's literallyri_seq,ri_segnum, andri_nextnumβ they all live on the last partial segment, bestie, they're a package deal π
π SEE ALSO π
- Kernel file
./fs/nilfs2/segment.hβ struct nilfs_cstage(9)π¦struct nilfs_sc_info(9)π
and that's the whole page, no crumbs left behind π source is ./fs/nilfs2, dated October 2026, and it's the struct nilfs_recovery_info(9) page β slay, go read your kernel headers, ily, bye πβ¨
π¦ 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