nilfs_dat_mark_dirty(9)
π nilfs_dat_mark_dirty β¨
okay so bestie, welcome to the kernel API manual for nilfs_dat_mark_dirty π yes that's the whole name, she's long but she's iconic, and today we're learning what she does. grab a snack π
πΈ NAME πΈ
nilfs_dat_mark_dirty β marks the DAT block buffer that holds the specified virtual block address entry as dirty. that's it, that's the job, and honestly? she does it flawlessly π
β¨ SYNOPSIS β¨
int nilfs_dat_mark_dirty (struct inode *dat , __u64 vblocknr );
π¦ ARGUMENTS π¦
datβ the DAT file inode π like, the inode, the whole personalityvblocknrβ the virtual block number π«
π₯ RETURN π₯
0 on success π (slay), or one of these negative error codes if things go sideways π:
-EINVALβ invalid DAT entry (that's the internal code, iykyk) π-EIOβ I/O error, and yes that includes metadata corruption, so likeβ¦ be aware π-ENOMEMβ not enough memory available, the classic π
ngl if you see -EIO and it's metadata corruption, that's not a vibe. handle it. π«Ά
π SEE ALSO π
- Kernel file
./fs/nilfs2/dat.cπ struct nilfs_dat_info(9)βnilfs_dat_freev(9)π§nilfs_dat_move(9)π¦nilfs_dat_translate(9)π«nilfs_dat_read(9)π
and that's the whole page, bestie! π
this one's from ./fs/nilfs2, dated October 2026, and it goes by nilfs_dat_mark_dirty(9) β 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