Re: [PATCH v5 6/9] xfs: switch to multigrain timestamps

2024-07-11 Thread Jeff Layton
On Thu, 2024-07-11 at 12:14 -0700, Darrick J. Wong wrote: > On Thu, Jul 11, 2024 at 11:58:59AM -0400, Jeff Layton wrote: > > On Thu, 2024-07-11 at 08:09 -0700, Darrick J. Wong wrote: > > > On Thu, Jul 11, 2024 at 07:08:10AM -0400, Jeff Layton wrote: > > > > Enable multigrain timestamps, which shoul

Re: [PATCH v5 6/9] xfs: switch to multigrain timestamps

2024-07-11 Thread Darrick J. Wong
On Thu, Jul 11, 2024 at 11:58:59AM -0400, Jeff Layton wrote: > On Thu, 2024-07-11 at 08:09 -0700, Darrick J. Wong wrote: > > On Thu, Jul 11, 2024 at 07:08:10AM -0400, Jeff Layton wrote: > > > Enable multigrain timestamps, which should ensure that there is an > > > apparent change to the timestamp w

Re: [PATCH v5 6/9] xfs: switch to multigrain timestamps

2024-07-11 Thread Jeff Layton
On Thu, 2024-07-11 at 08:09 -0700, Darrick J. Wong wrote: > On Thu, Jul 11, 2024 at 07:08:10AM -0400, Jeff Layton wrote: > > Enable multigrain timestamps, which should ensure that there is an > > apparent change to the timestamp whenever it has been written after > > being actively observed via get

Re: [PATCH v5 6/9] xfs: switch to multigrain timestamps

2024-07-11 Thread Darrick J. Wong
On Thu, Jul 11, 2024 at 07:08:10AM -0400, Jeff Layton wrote: > Enable multigrain timestamps, which should ensure that there is an > apparent change to the timestamp whenever it has been written after > being actively observed via getattr. > > Also, anytime the mtime changes, the ctime must also ch

[PATCH v5 6/9] xfs: switch to multigrain timestamps

2024-07-11 Thread Jeff Layton
Enable multigrain timestamps, which should ensure that there is an apparent change to the timestamp whenever it has been written after being actively observed via getattr. Also, anytime the mtime changes, the ctime must also change, and those are now the only two options for xfs_trans_ichgtime. Ha