[PATCH blktests v5 0/5] Add support to run against arbitrary targets
Aurelien Aptel
aaptel at nvidia.com
Fri Dec 6 05:51:15 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-v5
The last patch adds a test making explicit use of the remote target
support by testing the new nvme-tcp offloading.
changes:
v5:
- remove duplicated code, truncate regression in _nvmet_target_setup()
- remove def_host_traddr, use of eval
- fix shellcheck warnings
- cleanup test nvme/055
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
- https://lore.kernel.org/all/20241126203857.27210-1-aaptel@nvidia.com/
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 | 78 +++++++++-
common/rc | 8 +
contrib/nvme_target_control.py | 190 +++++++++++++++++++++++
contrib/nvmet-subsys.jinja2 | 71 +++++++++
tests/nvme/030 | 1 +
tests/nvme/055 | 268 +++++++++++++++++++++++++++++++++
tests/nvme/055.out | 44 ++++++
tests/nvme/rc | 30 ++++
11 files changed, 729 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