inode_set_ctime_deleg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 β€” the timespec64 to 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:

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