Page MenuHomeFreeBSD

nvme: gc nvme_ctrlr_post_failed_request and related task stuff
ClosedPublic

Authored by imp on Oct 2 2023, 9:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 2:10 AM
Unknown Object (File)
Sep 18 2024, 1:09 AM
Unknown Object (File)
Sep 14 2024, 11:27 AM
Unknown Object (File)
Sep 12 2024, 6:42 PM
Unknown Object (File)
Sep 12 2024, 6:42 PM
Unknown Object (File)
Sep 12 2024, 6:42 PM
Unknown Object (File)
Sep 12 2024, 6:39 PM
Unknown Object (File)
Sep 9 2024, 9:31 PM
Subscribers

Details

Summary

In 4b977e6dda92 we removed the call to nvme_ctrlr_post_failed_request
because we can now directly fail requests in this context since we're in
the reset task already. No need to queue it. I left it in place against
future need, but it's been two years and no panics have resulted. Since
the static analysis (code checking) and the dyanmic analysis (surviving
in the field for 2 years, including at $WORK where we know we've gone
through this path when we've failed drives) both signal that it's not
really needed, go ahead and GC it. If we discover at a later date a flaw
in this analysis, we can add it back easily enough by reverting this and
4b977e6dda92.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 53799
Build 50690: arc lint + arc unit