diff options
| author | Shida Zhang <zhangshida@kylinos.cn> | 2026-01-27 16:21:12 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-02-06 16:57:36 +0100 |
| commit | d36c4149ea2240ffe568068823c846fb1966cd9b (patch) | |
| tree | 0edaa68f7a83fd70fa0b0e5ac08af3bbb7763071 /tools/perf/scripts/python | |
| parent | 7b72d76a58e6b7e3835fd681babef49a6b30daba (diff) | |
| download | kernel-d36c4149ea2240ffe568068823c846fb1966cd9b.tar.gz | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
