Page MenuHomeFreeBSD

ufshci: reject new requests on a failed controller
ClosedPublic

Authored by jaeyoon on Aug 19 2026, 5:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 5, 8:27 AM
Unknown Object (File)
Mon, Oct 5, 1:05 AM
Unknown Object (File)
Sun, Oct 4, 7:25 PM
Unknown Object (File)
Sun, Oct 4, 2:25 AM
Unknown Object (File)
Mon, Sep 28, 3:55 AM
Unknown Object (File)
Mon, Sep 21, 9:42 AM
Unknown Object (File)
Fri, Sep 18, 5:02 PM
Unknown Object (File)
Thu, Sep 17, 3:55 PM
Subscribers
None

Details

Summary

A failed controller accepted new requests, but nothing ever
completed them, so the caller waited forever. The admin retry
path could also resubmit a request to a dead queue.

Reject new submits and admin retries on a failed controller.
The submit check runs under the queue lock, so it cannot race
with the queue walk in the fail path.

Sponsored by: Samsung Electronics

Diff Detail

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