Changes from v4 to v5: - Remove hardcode ns_id. Changes from v3 to v4: - Introduce var test_dev="/dev/${nvmedev}n1" instead of using "/dev/${nvmedev}n1" everywhere. - Filter the resv-report result. Changes from v2 to v3: - Put calling "resv-report --help" to the beginning of test_resv(). - Introduce a hlper resv_report. - Fit newest blktests version. Changes from v1 to v2: - Add a new patch to add a optinal argument --resv_enable. - Make resv-report fit the new --eds argument. - Filter the hosid output to make the new test case independent from hostid. - Change the new test case name to "Test the NVMe reservation feature". Guixin Liu (2): nvme/{md/001,rc,002,016,017,030,052}: introduce --resv_enable argument nvme: test the nvme reservation feature common/nvme | 89 +++++++++++++++++++++++++++++++++------ tests/md/001 | 4 +- tests/nvme/002 | 3 +- tests/nvme/016 | 7 +++- tests/nvme/017 | 10 +++-- tests/nvme/030 | 6 ++- tests/nvme/052 | 5 ++- tests/nvme/054 | 101 +++++++++++++++++++++++++++++++++++++++++++++ tests/nvme/054.out | 68 ++++++++++++++++++++++++++++++ tests/nvme/rc | 11 ++++- 10 files changed, 278 insertions(+), 26 deletions(-) create mode 100644 tests/nvme/054 create mode 100644 tests/nvme/054.out -- 2.43.0