Re: [PATCH] statx: add STATX_ATTR_MULTIGRAIN_TIMESTAMP

From
Christian Brauner <brauner@kernel.org>
Date
2026-11-05 21:53:12
Also in
linux-fsdevel, lkml
Reply to
Jeff Layton, 2026-10-29
On Thu, 29 Oct 2026 12:28:16 -0400, Jeff Layton wrote:
Userland has no way to tell whether a file's timestamps are multigrain,
i.e. whether successive changes after a query are guaranteed to yield
distinct timestamps.

Add STATX_ATTR_MULTIGRAIN_TIMESTAMP and set it in vfs_getattr_nosec()
when is_mgtime() is true (IOP_MGTIME is set from FS_MGTIME at inode
init). Always advertise it in attributes_mask.

[...]
Applied to the vfs-7.5.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.5.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.5.misc

[1/1] statx: add STATX_ATTR_MULTIGRAIN_TIMESTAMP
      https://git.kernel.org/vfs/vfs/c/81f2cc03b537
Thread (4 messages) 4 messages, 4 authors, last reply 12d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help