summaryrefslogtreecommitdiff
path: root/tools/perf/lib/include/internal/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorShida Zhang <zhangshida@kylinos.cn>2026-01-22 14:13:21 +0800
committerJens Axboe <axboe@kernel.dk>2026-01-22 07:24:50 -0700
commit3ef825dfd4e487d6f92b23ee2df2455814583ef4 (patch)
treeb62810459fe6f4db4dda68dcefe83b099354438f /tools/perf/lib/include/internal/git@git.tavy.me:linux.git
parent046be7e5967ef80547f7fd8a399e932f5338d5d4 (diff)
bcache: use bio cloning for detached device requests
Previously, bcache hijacked the bi_end_io and bi_private fields of the incoming bio when the backing device was in a detached state. This is fragile and breaks if the bio is needed to be processed by other layers. This patch transitions to using a cloned bio embedded within a private structure. This ensures the original bio's metadata remains untouched. Fixes: 53280e398471 ("bcache: fix improper use of bi_end_io") Co-developed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Shida Zhang <zhangshida@kylinos.cn> Acked-by: Coly Li <colyli@fnnas.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/lib/include/internal/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions