diff options
| author | Shida Zhang <zhangshida@kylinos.cn> | 2026-01-27 16:21:12 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-28 19:06:55 -0700 |
| commit | 4da7c5c3ec34d839bba6e035c3d05c447a2f9d4f (patch) | |
| tree | 751b23f223f199e8d335b96f66fecf6ce149780b /tools/perf/scripts/python | |
| parent | 6ea84d7a92cb0b30aaf7d2066a69e28e27932332 (diff) | |
bcache: fix I/O accounting leak in detached_dev_do_request
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
