[PATCH blktests v2 00/11] NVMe Target Passthru Block Tests

From: Logan Gunthorpe
Date: Wed Sep 30 2020 - 14:54:35 EST


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_v2

Thanks,

Logan

--

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 | 83 ++++++++++++++++++++++++++++++++++++++++++++--
38 files changed, 420 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