diff options
author | Jeff Layton <jlayton@kernel.org> | 2024-10-02 17:27:26 -0400 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-10-10 10:20:53 +0200 |
commit | e2e801d6e62507c297ec2c102e24d09c90618e8b (patch) | |
tree | 39131782d95623d676ad5a392332176b213a4dae /tools/perf/scripts/python/task-analyzer.py | |
parent | d0382c698f9c9c80483987e1b4661b5d97a805d4 (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.
Note that this also drops the IS_I_VERSION check and unconditionally
bumps the change attribute, since SB_I_VERSION is always set on btrfs.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # documentation bits
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20241002-mgtime-v10-11-d1c4717f5284@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions