aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorChung-Chiang Cheng <[email protected]>2022-05-03 23:25:34 +0800
committerakpm <[email protected]>2022-05-19 14:10:31 -0700
commit0f9d148167c53a7029aba29cdc45072027033b72 (patch)
tree67496eb9b879b5090d8761e84274f18ce5f067f5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent4dcc3f96e7439f9a3a6e47d7fc147aad1338ddc4 (diff)
fat: ignore ctime updates, and keep ctime identical to mtime in memory
FAT supports creation time but not change time, and there was no corresponding timestamp for creation time in previous VFS. The original implementation took the compromise of saving the in-memory change time into the on-disk creation time field, but this would lead to compatibility issues with non-linux systems. To address this issue, this patch changes the behavior of ctime. It will no longer be loaded and stored from the creation time on disk. Instead of that, it'll be consistent with the in-memory mtime and share the same on-disk field. All updates to mtime will also be applied to ctime in memory, while all updates to ctime will be ignored. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Chung-Chiang Cheng <[email protected]> Acked-by: OGAWA Hirofumi <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions