Re: [PATCH blktests] bcache: add bcache/001

Christoph Hellwig <[email protected]> Tue, 20 Jan 2026 23:56:33 -0800
Newsgroups org.kernel.vger.linux-bcache,org.kernel.vger.linux-block
Message-ID <[email protected]>
On Tue, Jan 20, 2026 at 02:28:18PM +0100, Daniel Wagner wrote:
> So far we are missing tests for bcache. Besides a relative simple
> setup/teardown tests add also the corresponding infrastructure. More
> tests are to be expected to depend on this.
> 
> _create_bcache/_remove_bcache are tracking the resources and if anything
> is missing it will complain.

Not really an expert on bcache, and not that much in blktests either,
but having some testing for bcache readabily available is fantastic!

> Note: to run this tests blktests TEST_CASE_DEV_ARRAY needs to be set:
> 
>   # cat config
>   TEST_CASE_DEV_ARRAY[bcache/*]="/dev/nvme0n1 /dev/vdb /dev/vdc"

Can you add a blurb to Documentation/running-tests.md about this?

I also wonder if we could have a generic TEST_CASE_DEV_ARRAY that
would just work for all tests needing multiple devices?