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
F164964345: D44211.id135375.diff
Wed, Aug 5, 3:43 AM
F164955868: D44211.id135489.diff
Wed, Aug 5, 2:53 AM
Unknown Object (File)
Tue, Aug 4, 5:18 AM
Unknown Object (File)
Fri, Jul 24, 12:15 PM
Unknown Object (File)
Thu, Jul 23, 7:25 AM
Unknown Object (File)
Wed, Jul 22, 8:29 PM
Unknown Object (File)
Tue, Jul 21, 2:46 PM
Unknown Object (File)
Sat, Jul 11, 11:14 AM
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.