[PATCH v3 0/2] bcache: fix I/O accounting leak

From: zhangshida2026

Date: Tue Jan 27 2026 - 03:22:36 EST


From: Shida Zhang <zhangshida@xxxxxxxxxx>

This series addresses an I/O accounting leak where detached bcache
devices could report 100% utilization in iostat after completion
of discard requests.

Changes since v2:
- Omitting the dead NULL check for bio_alloc_clone() (suggested by hch).
- Updated the Fixes tag for the accounting leak.

Shida Zhang (2):
bcache: remove dead code in detached_dev_do_request
bcache: fix I/O accounting leak in detached_dev_do_request

drivers/md/bcache/request.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)

--
2.34.1