nilfs_ioctl...blocks_dirty(9)
π NAME π
nilfs_ioctl_mark_blocks_dirty β bestie, this one literally just marks blocks as dirty β¨
πΈ SYNOPSIS πΈ
int nilfs_ioctl_mark_blocks_dirty (struct the_nilfs *nilfs , struct
nilfs_argv *argv , void *buf );
π ARGUMENTS π
nilfsβ the nilfs object itself, the main character of this whole situation πargvβ vector of arguments coming at us from userspace, iykykbufβ array of block descriptors, the whole squad π«Ά
π¦ DESCRIPTION π¦
okay so nilfs_ioctl_mark_blocks_dirty does exactly what it says on the tin β it marks metadata file blocks or data blocks as dirty. no cap, that's the whole vibe check. π
β RETURN β
On success you get back the number of processed block descriptors (slay, it tells you how many it handled). On failure you get one of these negative error codes, and it's giving sad girl hours π:
-EIOβ I/O error π₯-ENOENTβ non-existent block (that's a hole block, literally not there π)-ENOMEMβ not enough memory available, the struggle π
fr fr check the return value, bestie β negative means something went wrong and you should not just ignore it π
π SEE ALSO π
Kernel file ./fs/nilfs2/ioctl.c plus the whole friend group:
nilfs_ioctl_wrap_copy(9)nilfs_fileattr_get(9)nilfs_fileattr_set(9)nilfs_ioctl_getversion(9)nilfs_ioctl_change_cpmode(9)nilfs_ioctl_delete_checkpoint(9)nilfs_ioctl_do_get_cpinfo(9)nilfs_ioctl_get_cpstat(9)nilfs_ioctl_do_get_suinfo(9)nilfs_ioctl_get_sustat(9)nilfs_ioctl_do_get_vinfo(9)nilfs_ioctl_do_get_bdescs(9)nilfs_ioctl_get_bdescs(9)nilfs_ioctl_move_inode_block(9)nilfs_ioctl_move_blocks(9)nilfs_ioctl_delete_checkpoints(9)nilfs_ioctl_free_vblocknrs(9)nilfs_ioctl_clean_segments(9)nilfs_ioctl_sync(9)nilfs_ioctl_resize(9)nilfs_ioctl_trim_fs(9)nilfs_ioctl_set_alloc_range(9)nilfs_ioctl_get_info(9)nilfs_ioctl_set_suinfo(9)nilfs_ioctl_get_fslabel(9)nilfs_ioctl_set_fslabel(9)
and that's the whole page, bestie π§ this cutie lives in the Kernel API Manual under ./fs/nilfs2, dated October 2026 β go forth and mark those blocks dirty, 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