Skip to content
Unverified Commit 50e9ceef authored by Jeff Layton's avatar Jeff Layton Committed by Christian Brauner
Browse files

btrfs: convert to multigrain timestamps



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: default avatarJeff Layton <jlayton@kernel.org>
Acked-by: default avatarDavid Sterba <dsterba@suse.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Message-Id: <20230807-mgctime-v7-13-d1dec143a704@kernel.org>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 0269b585
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment