summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Robertson2021-06-27 20:54:34 -0400
committerKent Overstreet2023-10-22 17:09:07 -0400
commit78d66ab1ca541ba95a9ad89780466398b348c230 (patch)
treec0788ce2190647a93f6c282675e54ce3c6fd4569 /tools/perf/scripts/python/export-to-postgresql.py
parent6f152b0f375450b72724b6eb2ec00f7669fc910e (diff)
bcachefs: fix truncate without a size change
Do not attempt to shortcut a truncate when the given new size is the same as the current size. There may be blocks allocated to the file that extend beyond the i_size. The ctime and mtime should not be updated in this case. Signed-off-by: Dan Robertson <dan@dlrobertson.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions