]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nvme: Log reset success or failure to devd
authorWarner Losh <imp@FreeBSD.org>
Thu, 7 Mar 2024 01:22:34 +0000 (18:22 -0700)
committerWarner Losh <imp@FreeBSD.org>
Thu, 7 Mar 2024 01:38:59 +0000 (18:38 -0700)
commit5cdedf676d0300966b0dbed073d0f34c59282e03
treec6d1145ce6390ff0c220f8d1460175b444b9953d
parent4f817fcf6a26435ef634645d9be9ef641b6ee164
nvme: Log reset success or failure to devd

We're logging when we start a reset, but not when we complete it, nor
the result. Create now log a success or timed_out event for the reset.
Currently, the only detectable error we have from reset is 'failure to
become ready in time,' though the code looks like it might be more
generic. Log this and if we ever have other failure modes, change the
logging to devd when that happens.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D44211
sys/dev/nvme/nvme_ctrlr.c