blktests v4 tests/nvme: add tests for error logging
Omar Sandoval
osandov at osandov.com
Tue May 17 16:47:31 PDT 2022
On Mon, May 16, 2022 at 03:55:37PM -0700, Alan Adamson wrote:
> 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 at wdc.com
> V3 - Add error injector helper functions to nvme/rc
> V4 - Comments from shinichiro.kawasaki at wdc.com
>
> Alan Adamson (2):
> tests/nvme: add helper routine to use error injector
> tests/nvme: add tests for error logging
>
> tests/nvme/039 | 153 +++++++++++++++++++++++++++++++++++++++++++++
> tests/nvme/039.out | 7 +++
> tests/nvme/rc | 44 +++++++++++++
> 3 files changed, 204 insertions(+)
> create mode 100755 tests/nvme/039
> create mode 100644 tests/nvme/039.out
Thanks, applied.
More information about the Linux-nvme
mailing list