[PATCH blktests v4 0/3] bcache: add initial test cases
Daniel Wagner <[email protected]> Thu, 12 Feb 2026 16:23:30 +0100
| Newsgroups | org.kernel.vger.linux-bcache,org.kernel.vger.linux-block |
|---|---|
| Message-ID | <[email protected]> |
I've updated the v3 version with the feedback from Shinichiro for v2. Shinichiro, please note I did rewrite some of the logic in v3, thus some of your comments didn't apply. But hopefully I don't made a big mess :) Cheers, Daniel [1] https://lore.kernel.org/linux-bcache/CANubcdX7eNbH_bo4-f94DUbdiEbt04Vxy1MPyhm+CZyXB01FuQ@mail.gmail.com/ Signed-off-by: Daniel Wagner <[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 | 62 +++++++ tests/bcache/002.out | 2 + tests/bcache/rc | 375 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 496 insertions(+) --- base-commit: e387a7e0169cc012eb6a7140a0561d2901c92a76 change-id: 20260120-bcache-35ec7368c8f4 Best regards, -- Daniel Wagner <[email protected]>