All of lore.kernel.org
 help / color / mirror / Atom feed
* blktests v3 tests/nvme: add tests for error logging
@ 2022-05-13 15:52 Alan Adamson
  2022-05-13 15:52 ` [PATCH v3 blktests 1/2] tests/nvme: add helper routines to use error injector Alan Adamson
  2022-05-13 15:52 ` [PATCH v3 blktests 2/2] tests/nvme: add tests for error logging Alan Adamson
  0 siblings, 2 replies; 5+ messages in thread
From: Alan Adamson @ 2022-05-13 15:52 UTC (permalink / raw)
  To: linux-block; +Cc: alan.adamson, linux-nvme, osandov

blktests tests/nvme: add tests for error logging

Test nvme error logging by injecting errors. Kernel must have FAULT_INJECTION
and FAULT_INJECTION_DEBUG_FS configured to use error injector. Tests can be
run with or without NVME_VERBOSE_ERRORS configured.

These test verify the functionality delivered by the follow:
        commit bd83fe6f2cd2 ("nvme: add verbose error logging")

V2 - Update from suggestions from shinichiro.kawasaki@wdc.com
V3 - Add error injector helper functions to nvme/rc


Alan Adamson (2):
  tests/nvme: add helper routine to use error injector
  tests/nvme: add tests for error logging

 tests/nvme/039     | 152 +++++++++++++++++++++++++++++++++++++++++++++
 tests/nvme/039.out |   7 +++
 tests/nvme/rc      |  44 +++++++++++++
 3 files changed, 203 insertions(+)
 create mode 100755 tests/nvme/039
 create mode 100644 tests/nvme/039.out

-- 
2.27.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-16  1:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13 15:52 blktests v3 tests/nvme: add tests for error logging Alan Adamson
2022-05-13 15:52 ` [PATCH v3 blktests 1/2] tests/nvme: add helper routines to use error injector Alan Adamson
2022-05-16  1:10   ` Shinichiro Kawasaki
2022-05-13 15:52 ` [PATCH v3 blktests 2/2] tests/nvme: add tests for error logging Alan Adamson
2022-05-16  1:18   ` Shinichiro Kawasaki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.