diff options
author | Jeff Layton <[email protected]> | 2024-10-02 17:27:26 -0400 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-10-10 10:20:53 +0200 |
commit | e2e801d6e62507c297ec2c102e24d09c90618e8b (patch) | |
tree | 39131782d95623d676ad5a392332176b213a4dae /tools/perf/scripts/python/export-to-postgresql.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 <[email protected]>
Tested-by: Randy Dunlap <[email protected]> # documentation bits
Signed-off-by: Jeff Layton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions