diff options
author | Christoph Hellwig <[email protected]> | 2022-04-15 06:52:47 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-04-17 19:49:59 -0600 |
commit | 64dcc7c2717395b7c83ffb10f040d3be795d03c1 (patch) | |
tree | 0895fe0cbbcc8241b1eac7b943e6759e9e3df5bd /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 2aba0d19f4d8c8929b4b3b94a9cfde2aa20e6ee2 (diff) |
block: use bdev_alignment_offset in part_alignment_offset_show
Replace the open coded offset calculation with the proper helper.
This is an ABI change in that the -1 for a misaligned partition is
properly propagated, which can be considered a bug fix and matches
what is done on the whole device.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions