summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-06-15 09:48:37 +0300
committerSong Liu <song@kernel.org>2023-07-27 10:13:29 +0300
commitf5f2d5ac9f6e807e080311ec36bdf3d6c45b40d4 (patch)
tree33fd5f8082114e619bf2461b12b00f993334f349 /tools/perf/scripts/python/export-to-sqlite.py
parent0c3ea5cc8fbdc3515cfb0c47f5a284882f5e4d80 (diff)
downloadlinux-f5f2d5ac9f6e807e080311ec36bdf3d6c45b40d4.tar.xz
md-bitmap: account for mddev->bitmap_info.offset in read_sb_page
Diretly apply mddev->bitmap_info.offset to the sector number to read instead of doing that in both callers. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20230615064840.629492-9-hch@lst.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions