Re: [PATCH v5 1/9] fs: add infrastructure for multigrain timestamps

2024-07-11 Thread Darrick J. Wong
On Thu, Jul 11, 2024 at 07:08:05AM -0400, Jeff Layton wrote: > The VFS has always used coarse-grained timestamps when updating the > ctime and mtime after a change. This has the benefit of allowing > filesystems to optimize away a lot metadata updates, down to around 1 > per jiffy, even when a file

[PATCH v5 1/9] fs: add infrastructure for multigrain timestamps

2024-07-11 Thread Jeff Layton
The VFS has always used coarse-grained timestamps when updating the ctime and mtime after a change. This has the benefit of allowing filesystems to optimize away a lot metadata updates, down to around 1 per jiffy, even when a file is under heavy writes. Unfortunately, this has always been an issue