diff options
author | Yu Kuai <[email protected]> | 2023-06-22 00:51:05 +0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2023-07-27 00:13:29 -0700 |
commit | 05048cbccab79e9fb9030274170ccd710fe69474 (patch) | |
tree | cf43d5507cdf230caa7a4fd7173583e0a9dab3be /net/lapb/lapb_subr.c | |
parent | c687297b884507a4737b747957eda567063901df (diff) |
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 <[email protected]>
Reviewed-by: Xiao Ni <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions