public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH blktests v5 0/3] bcache: add initial test cases
@ 2026-03-05 15:01 Daniel Wagner
  2026-03-05 15:01 ` [PATCH blktests v5 1/3] bcache: add bcache/001 Daniel Wagner
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Daniel Wagner @ 2026-03-05 15:01 UTC (permalink / raw)
  To: Christoph Hellwig, Stephen Zhang, Kent Overstreet, Coly Li,
	Shin'ichiro Kawasaki, Johannes Thumshirn, linux-block,
	linux-bcache, Daniel Wagner

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 <hch@infradead.org>
Cc: Stephen Zhang <starzhangzsd@gmail.com>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Coly Li <colyli@fnnas.com>
Cc: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Cc: Johannes Thumshirn <Johannes.Thumshirn@wdc.com>
Cc: linux-block@vger.kernel.org
Cc: linux-bcache@vger.kernel.org
Signed-off-by: Daniel Wagner <dwagner@suse.de>

--- 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/20260212-bcache-v4-0-215f3fde1c84@suse.de

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/20260122-bcache-v3-0-2c02d15a4503@suse.de

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/20260121-bcache-v2-0-b26af185e63a@suse.de

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/20260120-bcache-v1-1-59bf0b2d4140@suse.de

---
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 <dwagner@suse.de>


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-03-12  1:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-05 15:01 [PATCH blktests v5 0/3] bcache: add initial test cases Daniel Wagner
2026-03-05 15:01 ` [PATCH blktests v5 1/3] bcache: add bcache/001 Daniel Wagner
2026-03-06  9:49   ` Johannes Thumshirn
2026-03-06 12:15   ` Shinichiro Kawasaki
2026-03-06 12:45     ` Daniel Wagner
2026-03-05 15:01 ` [PATCH blktests v5 2/3] bcache: add bcache/002 Daniel Wagner
2026-03-06  9:59   ` Johannes Thumshirn
2026-03-06 12:27   ` Shinichiro Kawasaki
2026-03-06 13:14     ` Daniel Wagner
2026-03-07 10:24       ` Shinichiro Kawasaki
2026-03-10  9:29         ` Stephen Zhang
2026-03-12  1:44           ` Shinichiro Kawasaki
2026-03-05 15:01 ` [PATCH blktests v5 3/3] doc: document how to configure bcache tests Daniel Wagner
2026-03-06 10:00   ` Johannes Thumshirn
2026-03-07 10:27 ` [PATCH blktests v5 0/3] bcache: add initial test cases Shinichiro Kawasaki
2026-03-09  9:40   ` Daniel Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox