aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2023-06-22 00:51:05 +0800
committerSong Liu <song@kernel.org>2023-07-27 00:13:29 -0700
commit05048cbccab79e9fb9030274170ccd710fe69474 (patch)
treecf43d5507cdf230caa7a4fd7173583e0a9dab3be /tools/perf/scripts/python/export-to-postgresql.py
parentmd: also clone new io if io accounting is disabled (diff)
downloadwireguard-linux-05048cbccab79e9fb9030274170ccd710fe69474.tar.xz
wireguard-linux-05048cbccab79e9fb9030274170ccd710fe69474.zip
raid5: fix missing io accounting in raid5_align_endio()
Io will only be accounted as done from raid5_align_endio() if the io succeeded, and io inflight counter will be leaked if such io failed. Fix this problem by switching to use md_account_bio() for io accounting. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Xiao Ni <xni@redhat.com> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20230621165110.1498313-4-yukuai1@huaweicloud.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions