[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176909198455.303056.14934550192217004133.b4-ty@kernel.dk>
Date: Thu, 22 Jan 2026 07:26:24 -0700
From: Jens Axboe <axboe@...nel.dk>
To: colyli@...as.com, kent.overstreet@...ux.dev, sashal@...nel.org,
hch@...radead.org, zhangshida2026@....com
Cc: linux-bcache@...r.kernel.org, linux-kernel@...r.kernel.org,
zhangshida@...inos.cn, starzhangzsd@...il.com,
Christoph Hellwig <hch@....de>
Subject: Re: [PATCH RESEND v3] bcache: use bio cloning for detached device
requests
On Thu, 22 Jan 2026 14:13:21 +0800, zhangshida2026@....com wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] bcache: use bio cloning for detached device requests
commit: 3ef825dfd4e487d6f92b23ee2df2455814583ef4
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists