inode_set_iversion_raw(9)
π NAME π
okay bestie, welcome to the inode_set_iversion_raw(9) page from the Kernel API Manual β¨ the whole point is set i_version to the specified raw value β that's the assignment, and it ate π
π¦ SYNOPSIS π¦
void inode_set_iversion_raw (struct inode *inode , u64 val );
πΈ ARGUMENTS πΈ
inodeβ the inode to set π like, this is the inode whose field is getting the update.valβ the newi_versionvalue to set β¨ the raw number going in, no cap.
β¨ DESCRIPTION β¨
so this function sets inode's i_version field to val π. It's for use by filesystems that self-manage the i_version β those filesystems are doing their own thing with it, periodt.
For example, the NFS client stores its NFSv4 change attribute in this way, and the AFS client stores the data_version from the server here. iconic behavior, honestly π
π₯ SEE ALSO π₯
Kernel file ./include/linux/iversion.h β plus these besties:
inode_peek_iversion_raw(9)inode_set_max_iversion_raw(9)inode_set_iversion(9)inode_set_iversion_queried(9)inode_inc_iversion(9)inode_iversion_need_inc(9)inode_inc_iversion_raw(9)inode_peek_iversion(9)inode_eq_iversion_raw(9)inode_eq_iversion(9)
mwah π this cutie is from ./include/linux, October 2026 β slay and goodbye β¨
π¦ 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