aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-06-15 08:48:36 +0200
committerSong Liu <song@kernel.org>2023-07-27 00:13:29 -0700
commit0c3ea5cc8fbdc3515cfb0c47f5a284882f5e4d80 (patch)
tree486eef8c48aebc6961894144acce3fa9ab286346 /tools/perf/scripts/python/bin
parentmd-bitmap: refactor md_bitmap_init_from_disk (diff)
downloadlinux-0c3ea5cc8fbdc3515cfb0c47f5a284882f5e4d80.tar.gz
linux-0c3ea5cc8fbdc3515cfb0c47f5a284882f5e4d80.zip
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/bin')
0 files changed, 0 insertions, 0 deletions