inode_set_ctime_deleg(9)
πΈ NAME πΈ
Okay so this page is inode_set_ctime_deleg from the Kernel API Manual, and its whole job is to try to update the ctime on a delegated inode. That's it, that's the mission. β¨π
β¨ SYNOPSIS β¨
struct timespec64 inode_set_ctime_deleg (struct inode *inode , struct timespec64 update );
π ARGUMENTS π
inodeβ the inode to update. target acquired, bestie π―updateβ thetimespec64to set the ctime. slay π
π DESCRIPTION π
The vibe? This function attempts to atomically update the ctime on behalf of a delegation holder. Like, the delegation holder is the main character here, and this is the atomic attempt to update the ctime for them. π«Ά
The nfs server can call back the holder of a delegation to get updated inode attributes, including the mtime. When it's updating the mtime, it updates the ctime to a value at least equal to that. No cap, that's the rule. π
This can race with concurrent updates to the inode β and if that happens, the update is skipped. π Just skipped. Periodt.
Tiny but important note: this works even when multigrain timestamps are not enabled, so it is used in either case. versatile icon behavior π§
π¦ SEE ALSO π¦
Kernel file ./fs/inode.c plus this whole bestie group chat of inode functions:
inode_init_always_gfp(9)alloc_inode(9)drop_nlink(9)clear_nlink(9)set_nlink(9)inc_nlink(9)inode_sb_list_add(9)__insert_inode_hash(9)__remove_inode_hash(9)evict_inodes(9)new_inode(9)unlock_new_inode(9)lock_two_nondirectories(9)unlock_two_nondirectories(9)inode_insert5(9)iget5_locked(9)iget5_locked_rcu(9)iget_locked(9)iunique(9)ihold(9)ilookup5_nowait(9)ilookup5(9)ilookup(9)find_inode_nowait(9)find_inode_rcu(9)find_inode_by_ino_rcu(9)iput(9)iput_not_last(9)bmap(9)inode_update_time(9)generic_update_time(9)atime_needs_update(9)file_remove_privs(9)current_time(9)file_update_time(9)file_modified_flags(9)file_modified(9)kiocb_modified(9)inode_init_owner(9)inode_owner_or_capable(9)inode_dio_wait(9)timestamp_truncate(9)inode_set_ctime_current(9)in_group_or_capable(9)mode_strip_sgid(9)dump_inode(9)
Bye bestie π«Ά β this page comes from source ./fs, dated October 2026, and the page name is inode_set_ctime_deleg(9) π
π¦ 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