bcache: add initial test cases
Get series with b4
b4 am [email protected] change-id 20260120-bcache-35ec7368c8f4Versions newest first
- v5 Latest3 patches 12 repliesIn review
- v43 patches 6 repliesSuperseded
- v33 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 2 patches | 4 replies | Superseded | |
| v1 | 1 patch | 6 replies | Superseded |
Changes in v4 from the cover letter
- 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]
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bcache: add bcache/001tests/ tests/ tests/ | +424 | 3 replies | |
| 2/3 | bcache: add bcache/002tests/ tests/ | +80 | 6 replies | |
| 3/3 | doc: document how to configure bcache testsDocumentation/ | +10 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH blktests v5 0/3] bcache: add initial test cases
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
--- 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,
Signature · 1 line
Daniel Wagner <[email protected]>