diff options
author | LongPing Wei <weilongping@oppo.com> | 2024-11-07 05:04:41 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-12-10 23:24:24 +0300 |
commit | 790eb09e59709a1ffc1c64fe4aae2789120851b0 (patch) | |
tree | 3613a77cc8cbca47ecbe13e2990348a9243c51c3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 86e6ca55b83c575ab0f2e105cf08f98e58d3d7af (diff) | |
download | linux-790eb09e59709a1ffc1c64fe4aae2789120851b0.tar.xz |
block: get wp_offset by bdev_offset_from_zone_start
Call bdev_offset_from_zone_start() instead of open-coding it.
Fixes: dd291d77cc90 ("block: Introduce zone write plugging")
Signed-off-by: LongPing Wei <weilongping@oppo.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241107020439.1644577-1-weilongping@oppo.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions