2023-07-26 13:44:02

by David Sterba

[permalink] [raw]
Subject: Re: [PATCH v6 7/7] btrfs: convert to multigrain timestamps

On Tue, Jul 25, 2023 at 10:58:20AM -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.
>
> Beyond enabling the FS_MGTIME flag, this patch eliminates
> update_time_for_write, which goes to great pains to avoid in-memory
> stores. Just have it overwrite the timestamps unconditionally.
>
> Signed-off-by: Jeff Layton <[email protected]>

Acked-by: David Sterba <[email protected]>