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

Daniel Wagner <[email protected]> Mon, 19 Jan 2026 16:57:05 +0100
Newsgroups org.kernel.vger.linux-bcache,org.kernel.vger.linux-block
Message-ID <[email protected]>
On Mon, Jan 19, 2026 at 11:34:15AM +0100, Daniel Wagner wrote:
> That's why I said some of tests could be added directly to blktests,

FWIW, I've started to work on an initial test case for bcache in
blktests. I shamelessly stole some helper/setup stuff from ktest to get
things rolling. But I think I am going to replace this as it doesn't
really match the blktests style for helpers and in the end it's not that
much we need to get it working anyway:

   https://github.com/igaw/blktests/pull/new/bcache

In case anyone wants to play with, you need to define
TEST_CASE_DEV_ARRAY:

# cat /root/config
TEST_CASE_DEV_ARRAY[bcache/*]="/dev/nvme0n1 /dev/nvme1n1 /dev/vda /dev/vdb"

# ./check -c /root/config bcache