STRUCT NILFS_SEGMENT_BUFFER(9)
π NAME π
okay so bestie, welcome to the Kernel API Manual page for struct nilfs_segment_buffer β the header title is literally struct nilfs_segment_buffer(9), and weβre folding that manual name right in here instead of copying the boring header line. The NAME entry is:
struct nilfs_segment_buffer β Segment buffer. Thatβs it, thatβs the vibe. π
β¨ SYNOPSIS β¨
Hereβs the struct in all its glory, copied exactly because we do not mess with code, periodt:
struct nilfs_segment_buffer {
struct super_block *sb_super;
struct list_head sb_list;
struct nilfs_segsum_info sb_sum;
__u64 sb_segnum;
__u64 sb_nextnum;
sector_t sb_fseg_start, sb_fseg_end;
sector_t sb_pseg_start;
unsigned int sb_rest_blocks;
struct list_head sb_segsum_buffers;
struct list_head sb_payload_buffers;
struct buffer_head *sb_super_root;
int sb_nbio;
atomic_t sb_err;
struct completion sb_bio_event;
};
π Members π
okay now the member-by-member vibe check β every field is here, no skipping, no cap:
sb_superβ back pointer to astruct super_block; itβs giving βI know my superblockβ energy. πsb_listβ list head to chain this structure; the little chain-link bae. πsb_sumβ on-memory segment summary. Lowkey the memory-side summary. β¨sb_segnumβ index number of the full segment.sb_nextnumβ index number of the next full segment.sb_fseg_startβ start block number of the full segment.sb_fseg_endβ end block number of the full segment.sb_pseg_startβ disk block number of partial segment.sb_rest_blocksβ number of residual blocks in the current segment.sb_segsum_buffersβ list of buffers for segment summaries.sb_payload_buffersβ list of buffers for segment payload.sb_super_rootβ pointer to buffer storing a super root block (if exists).sb_nbioβ number of flying bio requests.sb_errβ I/O error status.sb_bio_eventβ completion event of log writing.
π SEE ALSO π
- Kernel file
./fs/nilfs2/segbuf.h struct nilfs_segsum_info(9)
π and thatβs the whole page, bestie! source/version: ./fs/nilfs2 Β· date: October 2026 Β· page title: struct nilfs_segment_buffer(9) β mwah, 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