STRUCT NILFS_RECOVERY_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 with ri_lsegs_start like the duo they are 🫢
  • ri_lsegs_start_seq β€” sequence value of the segment at ri_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 literally ri_seq, ri_segnum, and ri_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