Skip to content

add nvme test for creating sleep while atomic kernel BUG

Nilay Shroff linux-nvme 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 7 repliesIn review
  2. v22 patches 8 repliesSuperseded
  3. v12 patches 9 repliesSuperseded

Changes in v3 from the cover letter

- Update the comment in second pacth to highlight the fact that this test doesn't depend on udev rules to recreate the regression (Shinichiro Kawasaki)
- Instead of creating source/data file using mktemp, use /dev/urandom as data file to nvme write command (Shinichiro Kawasaki)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvme/052: move nvmf_wait_for_ns() to common/nvmecommon/nvme tests/nvme/052+28 -282 replies
2/2nvme: add test for writing to file-ns just after disabling ittests/nvme/055 tests/nvme/055.out+119 -03 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChaitanya KulkarniDaniel WagnerSagi Grimberg
SeriesR-b
1/2R-b R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCHv3 0/2] add nvme test for creating sleep while atomic kernel BUG

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/[email protected]/

Changes from v2:
- Update the comment in second pacth to highlight the fact that this test doesn't depend on udev rules to recreate the regression (Shinichiro Kawasaki)
- Instead of creating source/data file using mktemp, use /dev/urandom as data file to nvme write command (Shinichiro Kawasaki)

Changes from v1:
- Update the second patch in the series so that we can trigger the regression 100% of time when we run the test (Chaitanya Kulkarni)

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     | 117 +++++++++++++++++++++++++++++++++++++++++++++
 tests/nvme/055.out |   2 +
 4 files changed, 147 insertions(+), 28 deletions(-)
 create mode 100755 tests/nvme/055
 create mode 100644 tests/nvme/055.out
Signature · 1 line
2.45.2