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

David Sterba dsterba at suse.cz
Wed Jul 26 22:44:02 AEST 2023


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 at kernel.org>

Acked-by: David Sterba <dsterba at suse.com>


More information about the Linux-erofs mailing list