Page MenuHomeFreeBSD

nvme: Log reset success or failure to devd
ClosedPublic

Authored by imp on Mar 4 2024, 11:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 22, 3:15 PM
Unknown Object (File)
Wed, May 22, 3:01 PM
Unknown Object (File)
Wed, May 22, 4:50 AM
Unknown Object (File)
Tue, May 21, 7:43 PM
Unknown Object (File)
Apr 21 2024, 7:40 AM
Unknown Object (File)
Apr 21 2024, 7:40 AM
Unknown Object (File)
Apr 21 2024, 7:40 AM
Unknown Object (File)
Apr 19 2024, 6:25 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 7 2024, 1:40 AM
This revision was automatically updated to reflect the committed changes.