summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorShida Zhang <zhangshida@kylinos.cn>2026-01-27 16:21:12 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-02-06 16:55:44 +0100
commitf339f846fa3b64742269939b0d3d496916ed4902 (patch)
tree64e23fb940af6014e6e8e248f51d499474e90e18 /include/net/aligned_data.h
parent0aed692e942193ee290d320b55c9a50e45577796 (diff)
bcache: fix I/O accounting leak in detached_dev_do_request
[ Upstream commit 4da7c5c3ec34d839bba6e035c3d05c447a2f9d4f ] When a bcache device is detached, discard requests are completed immediately. However, the I/O accounting started in cached_dev_make_request() is not ended, leading to 100% disk utilization reports in iostat. Add the missing bio_end_io_acct() call. Fixes: cafe56359144 ("bcache: A block layer cache") Signed-off-by: Shida Zhang <zhangshida@kylinos.cn> Acked-by: Coly Li <colyli@fnnas.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions