aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2024-02-13 11:16:01 +0100
committerTheodore Ts'o <[email protected]>2024-03-07 13:32:54 -0500
commitfa60629380bbbf0952d2eb906da187b171f54529 (patch)
treeff2c9b9f8108cbd311424569c5caea87b8702675 /tools/perf/scripts/python/export-to-postgresql.py
parent7f48212678e91a057259b3e281701f7feb1ee397 (diff)
ext4: don't report EOPNOTSUPP errors from discard
When ext4 is mounted without journal, with discard mount option, and on a device not supporting trim, we print error for each and every freed extent. This is not only useless but actively harmful. Instead ignore the EOPNOTSUPP error. Trim is only advisory anyway and when the filesystem has journal we silently ignore trim error as well. Signed-off-by: Jan Kara <[email protected]> Reviewed-by: Zhang Yi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions