Re: [PATCH] Revert "bcache: fix improper use of bi_end_io"

Kent Overstreet <[email protected]> Tue, 13 Jan 2026 11:34:18 -0500
Newsgroups org.kernel.vger.linux-bcache,org.kernel.vger.linux-block
Message-ID <[email protected]>
On Tue, Jan 13, 2026 at 08:26:07AM -0800, Christoph Hellwig wrote:
> On Wed, Jan 14, 2026 at 12:18:45AM +0800, Coly Li wrote:
> > Hi Christoph,
> > 
> > This cloned bio method looks good. Could you please post a formal patch?
> > Then I may replace the revert commit with your patch.
> 
> As usual with bcache I don't really know how to test it to confidently
> submit it.  Is there an official test suite I can run now.

Coly and I were just on a call discussing updating my old test suite. I
haven't used the bcache tests in > 10 years so they do need to be
updated, but the harness and related tooling is well supported both for
local development and has full CI.

https://evilpiepirate.org/git/ktest.git/tree/README.md
https://evilpiepirate.org/git/ktest.git/tree/tests/bcache/

There's fio verify testing in various modes, reboot tests - there was
fault injection when I was using it but the fault injection code never
got merged into mainline.

I wish I could do the updating myself, but I'm neck deep in my own code,
but as I was just telling Coly I'm always available on IRC to answer
questions - irc.oftc.net #bcache.