]> www.infradead.org Git - users/hch/blktests.git/commit
tests/nvme: add tests for error logging
authorAlan Adamson <alan.adamson@oracle.com>
Mon, 16 May 2022 22:55:39 +0000 (15:55 -0700)
committerOmar Sandoval <osandov@fb.com>
Tue, 17 May 2022 23:47:45 +0000 (16:47 -0700)
commit9accb5f86670a0f7cc262cf9a6fc2d87574543e1
tree410959dd0ce8590be1daa5398705b9b164308143
parent1a39acd60784a0a3f27c724fe03d86b46e59b82b
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.

Test for commit bd83fe6f2cd2 ("nvme: add verbose error logging").

Reviewed-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Signed-off-by: Alan Adamson <alan.adamson@oracle.com>
Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
tests/nvme/039 [new file with mode: 0755]
tests/nvme/039.out [new file with mode: 0644]