[PATCH blktests 0/7] nvme: add test cases for ANA support

Shin'ichiro Kawasaki shinichiro.kawasaki at wdc.com
Fri Nov 29 05:26:10 PST 2024


Hannes reworked the nvme test group scripts to support ANA, or Asymmetric
Namespace Access. This work is tracked with GitHub PR 146 [1]. The amount of
change is large, then I split them into a few series for easier review. This is
the last series, which follows the second series [2] and a follow-up fix [3].

The first 6 patches in this series prepare for the new test case addition. The
7th patch add the test case for basic ANA support. The last patch add the other
test case for rapid namespace remapping.

  [1] https://github.com/osandov/blktests/pull/146
  [2] https://lore.kernel.org/linux-nvme/20241107111354.80606-1-shinichiro.kawasaki@wdc.com/
  [3] https://lore.kernel.org/linux-nvme/20241120102051.247995-1-shinichiro.kawasaki@wdc.com/

Hannes Reinecke (7):
  nvme/031: open-code helper functions
  nvme: add _setup_nvmet_port_ana()
  nvme: add _setup_nvmet_ns_ana()
  nvme/rc: add argument '--ports' to _nvmet_target_setup()
  nvme: delete all ana_groups when removing a port
  test/nvme: add test for basic ANA support
  test/nvme: add test for rapid namespace remapping

 common/nvme        |  55 ++++++++++++++++++++++--
 tests/nvme/031     |  14 +++---
 tests/nvme/055     |  97 +++++++++++++++++++++++++++++++++++++++++
 tests/nvme/055.out |   5 +++
 tests/nvme/056     | 105 +++++++++++++++++++++++++++++++++++++++++++++
 tests/nvme/056.out |  14 ++++++
 tests/nvme/rc      |  31 +++++++++++++
 7 files changed, 312 insertions(+), 9 deletions(-)
 create mode 100755 tests/nvme/055
 create mode 100644 tests/nvme/055.out
 create mode 100755 tests/nvme/056
 create mode 100644 tests/nvme/056.out

-- 
2.47.0




More information about the Linux-nvme mailing list