aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-01-03 08:16:22 +0000
committerJens Axboe <[email protected]>2024-01-04 16:05:49 -0700
commit458aa1a09939a56e044768013c86b5ef06e1c4f1 (patch)
treed1d59ad9bd2b78e2dbe2a5ffd81e646a43511c0a /tools/perf/scripts/python/export-to-postgresql.py
parent31e4fac930814f2f92eb6ebac9c4d4e3b09f7aaf (diff)
block: floor the discard granularity to the physical block size
Discarding less than a physical block doesn't make sense. This fixes the existing behavior for zram before the recent changes to default the discard granularity to the logical block size, and is also a generally useful sanity check. Fixes: 3753039def5d ("zram: use the default discard granularity") Reported-by: Sergey Senozhatsky <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions