[PATCH blktests v4 0/5] Add support to run against arbitrary targets
Aurelien Aptel
aaptel at nvidia.com
Tue Nov 26 12:38:51 PST 2024
This series is based off Daniel's patches. It is rebased to work on
current blktests. It is also available on github:
https://github.com/aaptel/blktests.git branch remote-target-v4
The last patch adds a test making explicit use of the remote target
support by testing the new nvme-tcp offloading.
I've added a 'blkdev' setting under [subsys_0] in the control script
config to specify the backing block device on the target, instead of
hardcoding '/dev/vdc'.
changes:
v4:
- added nvme test 055 for nvme-tcp offload
- added 'blkdev' setting under [subsys_0] in the control script config
- added workaround for older python versions
v3:
- added support for previous configured target
- renamed nvme_nvme_target to _require_kernel_nvme_target
- use shorter redirect operator
- https://lore.kernel.org/all/20240627091016.12752-1-dwagner@suse.de/
v2:
- many of the preperation patches have been merged, drop them
- added a python script which implements the blktests API
- add some documentation how to use it
- changed the casing of the environment variables to upper case
- https://lore.kernel.org/all/20240612110444.4507-1-dwagner@suse.de/
v1:
- initial version
- https://lore.kernel.org/linux-nvme/20240318093856.22307-1-dwagner@suse.de/
Aurelien Aptel (2):
common/nvme: add digest options to __nvme_connect_subsys()
nvme/055: add test for nvme-tcp zero-copy offload
Daniel Wagner (3):
nvme/rc: introduce remote target support
nvme/030: only run against kernel soft target
contrib: add remote target setup/cleanup script
Documentation/running-tests.md | 42 +++++
README.md | 1 +
check | 4 +
common/nvme | 87 +++++++++-
common/rc | 8 +
contrib/nvme_target_control.py | 190 ++++++++++++++++++++++
contrib/nvmet-subsys.jinja2 | 71 ++++++++
tests/nvme/030 | 1 +
tests/nvme/055 | 285 +++++++++++++++++++++++++++++++++
tests/nvme/055.out | 44 +++++
tests/nvme/rc | 30 ++++
11 files changed, 755 insertions(+), 8 deletions(-)
create mode 100755 contrib/nvme_target_control.py
create mode 100644 contrib/nvmet-subsys.jinja2
create mode 100755 tests/nvme/055
create mode 100644 tests/nvme/055.out
--
2.34.1
More information about the Linux-nvme
mailing list