Page MenuHomeFreeBSD

ufshci: reject new requests on a failed controller
ClosedPublic

Authored by jaeyoon on Wed, Aug 19, 5:51 AM.
Tags
None
Referenced Files
F170908161: D58948.id185183.diff
Mon, Sep 7, 12:14 PM
Unknown Object (File)
Sun, Sep 6, 6:19 PM
Unknown Object (File)
Sun, Sep 6, 6:14 PM
Unknown Object (File)
Sun, Sep 6, 6:11 PM
Unknown Object (File)
Sun, Sep 6, 1:33 PM
Unknown Object (File)
Sun, Sep 6, 12:50 PM
Unknown Object (File)
Sun, Sep 6, 12:34 PM
Unknown Object (File)
Sun, Sep 6, 10:21 AM
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