summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2023-03-14 04:22:58 +0300
committerSong Liu <song@kernel.org>2023-04-14 10:42:03 +0300
commit7cddb055bfda5f7b0be931e8ea750fc28bc18a27 (patch)
treee24dbc344e0834c265fa1b5832ae02475123c4ed /tools/perf/scripts/python/export-to-sqlite.py
parentf0ddb83da3cbbf8a1f9087a642c448ff52ee9abd (diff)
downloadlinux-7cddb055bfda5f7b0be931e8ea750fc28bc18a27.tar.xz
md/raid10: don't call bio_start_io_acct twice for bio which experienced read error
handle_read_error() will resumit r10_bio by raid10_read_request(), which will call bio_start_io_acct() again, while bio_end_io_acct() will only be called once. Fix the problem by don't account io again from handle_read_error(). Fixes: 528bc2cf2fcc ("md/raid10: enable io accounting") Suggested-by: Song Liu <song@kernel.org> Signed-off-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20230314012258.2395894-1-yukuai1@huaweicloud.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions