Skip to content

NVMe Target Passthru Block Tests

Logan Gunthorpe linux-block linux-nvme lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest11 patches 3 repliesIn review
  2. v211 patches 11 repliesSuperseded
  3. v111 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Fixed a nit with variable initialization in patch 5 (per Chaitanya)
- Replaced use of printf with echo (per Chaitanya)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11common/fio: Remove state file in common helpercommon/fio tests/nvme/010 tests/nvme/011 +2 more+1 -40 replies
2/11common/xfs: Create common helper to check for XFS supportcommon/rc common/xfs tests/nvme/012 +1 more+26 -30 replies
3/11common/xfs: Create common helper to verify block device with xfscommon/xfs tests/nvme/012 tests/nvme/013+24 -260 replies
4/11nvme: Search for specific subsysnqn in _find_nvme_loop_devtests/nvme/004 tests/nvme/005 tests/nvme/008 +20 more+26 -250 replies
5/11nvme: Add common helpers for passthru teststests/nvme/rc+75 -00 replies
6/11nvme/033: Simple test to create and connect to a passthru targettests/nvme/033 tests/nvme/033.out+74 -00 replies
7/11nvme/034: Add test for passthru data verificationtests/nvme/034 tests/nvme/034.out+38 -00 replies
8/11nvme/035: Add test to verify passthru controller with a filesystemtests/nvme/035 tests/nvme/035.out+40 -00 replies
9/11nvme/036: Add test for testing reset command on nvme-passthrutests/nvme/036 tests/nvme/036.out+40 -00 replies
10/11nvme/037: Add test which loops passthru connect and disconnecttests/nvme/037 tests/nvme/037.out+37 -00 replies
11/11nvme/038: Test removal of un-enabled subsystem and portstests/nvme/038 tests/nvme/038.out+38 -00 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by.

PatchChaitanya Kulkarni
1/11R-b
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

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

Read the v3 thread

Cover letter [PATCH blktests v3 00/11] NVMe Target Passthru Block Tests

Hi,

This series adds blktests for the nvmet passthru feature that was merged for 5.9. It's been reconciled with Sagi's blktest series that Omar recently merged.

This series is based off of the current blktests master and a git repo is available for this here:

https://github.com/Eideticom/blktests nvmet_passthru_v3

Thanks,

Logan

--

Changes in v3:
- Fixed a nit with variable initialization in patch 5 (per Chaitanya)
- Replaced use of printf with echo (per Chaitanya)

Changes in v2:

- Rebased on latest blktests master and changed to use the common helpers Sagi introduced in his series
- Collected Chaitanya's reviewed-by tag

--

Logan Gunthorpe (11):
common/fio: Remove state file in common helper common/xfs: Create common helper to check for XFS support common/xfs: Create common helper to verify block device with xfs
nvme: Search for specific subsysnqn in _find_nvme_loop_dev
nvme: Add common helpers for passthru tests
nvme/033: Simple test to create and connect to a passthru target nvme/034: Add test for passthru data verification nvme/035: Add test to verify passthru controller with a filesystem nvme/036: Add test for testing reset command on nvme-passthru nvme/037: Add test which loops passthru connect and disconnect nvme/038: Test removal of un-enabled subsystem and ports

 common/fio         |  1 +
 common/rc          |  8 +++++
 common/xfs         | 33 +++++++++++++++++++
 tests/nvme/004     |  2 +-
 tests/nvme/005     |  2 +-
 tests/nvme/008     |  2 +-
 tests/nvme/009     |  2 +-
 tests/nvme/010     |  3 +-
 tests/nvme/011     |  3 +-
 tests/nvme/012     | 23 ++++---------
 tests/nvme/013     | 21 +++---------
 tests/nvme/014     |  2 +-
 tests/nvme/015     |  2 +-
 tests/nvme/018     |  2 +-
 tests/nvme/019     |  2 +-
 tests/nvme/020     |  2 +-
 tests/nvme/021     |  2 +-
 tests/nvme/022     |  2 +-
 tests/nvme/023     |  2 +-
 tests/nvme/024     |  2 +-
 tests/nvme/025     |  2 +-
 tests/nvme/026     |  2 +-
 tests/nvme/027     |  2 +-
 tests/nvme/028     |  2 +-
 tests/nvme/029     |  2 +-
 tests/nvme/033     | 67 +++++++++++++++++++++++++++++++++++++
 tests/nvme/033.out |  7 ++++
 tests/nvme/034     | 35 ++++++++++++++++++++
 tests/nvme/034.out |  3 ++
 tests/nvme/035     | 37 +++++++++++++++++++++
 tests/nvme/035.out |  3 ++
 tests/nvme/036     | 37 +++++++++++++++++++++
 tests/nvme/036.out |  3 ++
 tests/nvme/037     | 35 ++++++++++++++++++++
 tests/nvme/037.out |  2 ++
 tests/nvme/038     | 36 ++++++++++++++++++++
 tests/nvme/038.out |  2 ++
 tests/nvme/rc      | 82 ++++++++++++++++++++++++++++++++++++++++++++--
 38 files changed, 419 insertions(+), 58 deletions(-)
 create mode 100644 common/xfs
 create mode 100755 tests/nvme/033
 create mode 100644 tests/nvme/033.out
 create mode 100755 tests/nvme/034
 create mode 100644 tests/nvme/034.out
 create mode 100755 tests/nvme/035
 create mode 100644 tests/nvme/035.out
 create mode 100755 tests/nvme/036
 create mode 100644 tests/nvme/036.out
 create mode 100755 tests/nvme/037
 create mode 100644 tests/nvme/037.out
 create mode 100755 tests/nvme/038
 create mode 100644 tests/nvme/038.out

base-commit: 20445c5eb6456addca9131ec6917d2a2d7414e04 --
2.20.1