diff options
author | Christoph Hellwig <hch@lst.de> | 2023-06-15 09:48:36 +0300 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-07-27 10:13:29 +0300 |
commit | 0c3ea5cc8fbdc3515cfb0c47f5a284882f5e4d80 (patch) | |
tree | 486eef8c48aebc6961894144acce3fa9ab286346 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 844dc6691ad5f53a624f4b07bf84037abbb8fce2 (diff) | |
download | linux-0c3ea5cc8fbdc3515cfb0c47f5a284882f5e4d80.tar.xz |
md-bitmap: cleanup read_sb_page
Convert read_sb_page to the normal kernel coding style, calculate the
target sector only once, and add a local iosize variable to make the call
to sync_page_io more readable.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230615064840.629492-8-hch@lst.de
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions