nilfs_sufile_mark_dirty(9)
β¨ nilfs_sufile_mark_dirty(9) β¨
okay bestie, welcome to the Kernel API Manual β this one's a deep cut from the nilfs2 filesystem, and honestly it's giving "small function, big responsibilities" π
π NAME π
nilfs_sufile_mark_dirty β mark the buffer having a segment usage dirty π«Ά
πΈ SYNOPSIS πΈ
int nilfs_sufile_mark_dirty (struct inode *sufile , __u64 segnum );
π¦ ARGUMENTS π¦
sufileβ the inode of the segment usage file, like, that's the whole file we're poking at πsegnumβ the segment number, i.e. which segment we're talking about, fr fr
β RETURN β
0 on success, or a negative error code on failure. no cap, that's it π
π₯ SEE ALSO π₯
- Kernel file
./fs/nilfs2/sufile.c struct nilfs_sufile_info(9)nilfs_sufile_segment_usage_offset(9)nilfs_sufile_get_ncleansegs(9)nilfs_sufile_updatev(9)nilfs_sufile_set_alloc_range(9)nilfs_sufile_alloc(9)nilfs_sufile_set_segment_usage(9)nilfs_sufile_get_stat(9)nilfs_sufile_truncate_range(9)nilfs_sufile_resize(9)nilfs_sufile_get_suinfo(9)nilfs_sufile_set_suinfo(9)nilfs_sufile_trim_fs(9)nilfs_sufile_read(9)
π§ lowkey the whole sufam is here β if you're reading this at 3am in ./fs/nilfs2, hydrate and slay π
and that's the whole page, bestie! this lil gem lives in ./fs/nilfs2, dropped October 2026 in the Kernel API Manual β periodt πβ¨
π¦ 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