HomeFreeBSD

nvme: Log reset success or failure to devd

Description

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

Details

Provenance
impAuthored on Mar 7 2024, 1:22 AM
Differential Revision
D44211: nvme: Log reset success or failure to devd
Parents
rG4f817fcf6a26: nvme: Change devctl events for the controller
Branches
Unknown
Tags
Unknown