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

From: David Sterba
Date: Wed Jul 26 2023 - 08:51:21 EST


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 <jlayton@xxxxxxxxxx>

Acked-by: David Sterba <dsterba@xxxxxxxx>