Re: [PATCH 04/10] fs: add infrastructure for multigrain timestamps

2024-06-27 Thread Jeff Layton
On Thu, 2024-06-27 at 11:02 -0400, Chuck Lever wrote: > On Wed, Jun 26, 2024 at 09:00:24PM -0400, Jeff Layton wrote: > > The VFS always uses coarse-grained timestamps when updating the ctime > > and mtime after a change. This has the benefit of allowing filesystems > > to optimize away a lot metada

Re: [PATCH 04/10] fs: add infrastructure for multigrain timestamps

2024-06-27 Thread Chuck Lever
On Wed, Jun 26, 2024 at 09:00:24PM -0400, Jeff Layton wrote: > The VFS always uses 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

[PATCH 04/10] fs: add infrastructure for multigrain timestamps

2024-06-26 Thread Jeff Layton
The VFS always uses 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 whe