]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nvmecontrol: add device self-test op and log page
authorChuck Tuffli <chuck@FreeBSD.org>
Fri, 8 Jan 2021 17:19:37 +0000 (09:19 -0800)
committerWarner Losh <imp@FreeBSD.org>
Sat, 31 Jul 2021 00:02:52 +0000 (18:02 -0600)
commit0980844b7fe76f5dd782cacd17edac59d2bc6c12
treefb418aaaff834ddf6e1a7f48bd156a126b4edfad
parent644837397fa7fbc6f5bdd7d885c6347045c18bf3
nvmecontrol: add device self-test op and log page

Add decoding of the Device Self-test log page and the ability to start
or abort a test.

Reviewed by: imp, mav
Tested by: Muhammad Ahmad <muhammad.ahmad@seagate.com>
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D27517

(cherry picked from commit 6733401935f83754b4b2744bc3d33ef84b1271e0)
sbin/nvmecontrol/Makefile
sbin/nvmecontrol/logpage.c
sbin/nvmecontrol/nvmecontrol.8
sbin/nvmecontrol/selftest.c [new file with mode: 0644]
sys/dev/nvme/nvme.h