[PATCH blktests v5 0/3] bcache: add initial test cases
Daniel Wagner <[email protected]> Thu, 05 Mar 2026 16:01:43 +0100
| Newsgroups | org.kernel.vger.linux-bcache,org.kernel.vger.linux-block |
|---|---|
| Message-ID | <[email protected]> |
I've addressed all comments from Shinichiro. bcache/002 is not using iostat anymore, instead it reads directly from sysfs. Also updated this tests according Stephen's feedback. I didn't test yet with an older version. Unfortunatly, I was not able to reproduce the "nvme?n1" file in my setup with: TEST_CASE_DEV_ARRAY[bcache/*]="/dev/nvme0n1 /dev/vdb /dev/vdc" TEST_CASE_DEV_ARRAY[bcache/*]="/dev/nvme0n1 /dev/vdb /dev/vdc /dev/nvme1n1" Not sure where this is coming from. Cheers, Daniel Cc: Christoph Hellwig <[email protected]> Cc: Stephen Zhang <[email protected]> Cc: Kent Overstreet <[email protected]> Cc: Coly Li <[email protected]> Cc: Shin'ichiro Kawasaki <[email protected]> Cc: Johannes Thumshirn <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Daniel Wagner <[email protected]> --- Changes in v5: - Addressed all comments from Shinichiro - Updated bcache/002 according Stepen's feedback, though reduced fio's runtime to 10s - Link to v4: https://patch.msgid.link/[email protected] Changes in v4: - changed file mode to 755 for 001 and 002 - changed license to GPL-3.0+ - use group_requires - fixed whitespace damage - dropped unnecessary '|| true' - added 'local' for local variables - added wait loop for register interface to show up - updated documentation - Link to v3: https://patch.msgid.link/[email protected] Changes in v3: - add bcache/002 - return created bcache devices to tests case - made cleanup more robust (handling detached cache) - track all resources correctly - operatoe only in final cleanup on known devices - Link to v2: https://patch.msgid.link/[email protected] Changes in v2: - fixed whitespace damage - added documentation on how to configure for bcache tests - do registering explicitly - made disk wiping more robust - Link to v1: https://patch.msgid.link/[email protected] --- Daniel Wagner (3): bcache: add bcache/001 bcache: add bcache/002 doc: document how to configure bcache tests Documentation/running-tests.md | 10 ++ tests/bcache/001 | 44 +++++ tests/bcache/001.out | 3 + tests/bcache/002 | 78 +++++++++ tests/bcache/002.out | 2 + tests/bcache/rc | 377 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 514 insertions(+) --- base-commit: e387a7e0169cc012eb6a7140a0561d2901c92a76 change-id: 20260120-bcache-35ec7368c8f4 Best regards, -- Daniel Wagner <[email protected]>