Skip to content

Add support to run against arbitrary targets

Aurelien Aptel linux-block linux-nvme 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 9 repliesIn review
  2. v45 patches 4 repliesSuperseded

Changes in v5 from the cover letter

- remove duplicated code, truncate regression in _nvmet_target_setup()
- remove def_host_traddr, use of eval
- fix shellcheck warnings
- cleanup test nvme/055

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5nvme/rc: introduce remote target supportDocumentation/running-tests.md check common/nvme +1 more+105 -81 reply
2/5common/nvme: add digest options to __nvme_connect_subsys()common/nvme+16 -01 reply
3/5nvme/030: only run against kernel soft targettests/nvme/030 tests/nvme/rc+9 -01 reply
4/5contrib: add remote target setup/cleanup scriptcontrib/nvme_target_control.py contrib/nvmet-subsys.jinja2+261 -01 reply
5/5nvme/055: add test for nvme-tcp zero-copy offloadDocumentation/running-tests.md README.md common/rc +3 more+338 -04 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchDaniel WagnerChaitanya Kulkarni
1/5R-b
2/5R-b R-b
3/5R-b
4/5R-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH blktests v5 0/5] Add support to run against arbitrary targets

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/[email protected]/
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/[email protected]/
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/[email protected]/
v1:
- initial version
- https://lore.kernel.org/linux-nvme/[email protected]/
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
Signature · 1 line
2.34.1