[PATCH blktests 0/2] add nvme test for creating sleep while atomic kernel BUG

Nilay Shroff
2024-11-29T08:28:43Z

Hi,

There're two patches in this series. The first patch is a preparation patch
for reusing a common function nvmf_wait_for_ns from multiple nvme test scripts.
The second patch adds a new nvme regression[1] test for commit 505363957fad
("nvmet: fix nvme status code when namespace is disabled").

For fixing regression, as suggested by Christoph[2], I would send a separate
patch upstream.

[1] https://lore.kernel.org/linux-nvme/tqcy3sveity7p56v7ywp7ssyviwcb3w4623cnxj3knoobfcanq@yxgt2mjkbkam/
[2] https://lore.kernel.org/linux-nvme/20241022070252.GA11389@lst.de/

Nilay Shroff (2):
nvme/052: move nvmf_wait_for_ns() to common/nvme
nvme: add test for writing to file-ns just after disabling it

common/nvme | 26 ++++++++++++++++
tests/nvme/052 | 30 ++-----------------
tests/nvme/055 | 75 ++++++++++++++++++++++++++++++++++++++++++++++
tests/nvme/055.out | 2 ++
4 files changed, 105 insertions(+), 28 deletions(-)
create mode 100755 tests/nvme/055
create mode 100644 tests/nvme/055.out

--
2.45.2