diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-08-07 15:38:44 -0400 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-08-11 09:04:58 +0200 |
commit | 50e9ceef1d4f644ee0049e82e360058a64ec284c (patch) | |
tree | c362c68f1fdfd81b7c6492f0241bee73a0abec9b /security | |
parent | 0269b585868e59b6a2ecc6ea685d39310e4fc18b (diff) |
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: Jeff Layton <jlayton@kernel.org>
Acked-by: David Sterba <dsterba@suse.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Message-Id: <20230807-mgctime-v7-13-d1dec143a704@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions