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
F170806102: D58948.id185183.diff
Sun, Sep 6, 6:19 PM
F170805551: D58948.id184311.diff
Sun, Sep 6, 6:14 PM
F170805271: D58948.diff
Sun, Sep 6, 6:11 PM
F170773190: D58948.id185183.diff
Sun, Sep 6, 1:33 PM
F170768336: D58948.id.diff
Sun, Sep 6, 12:50 PM
F170766338: D58948.id184311.diff
Sun, Sep 6, 12:34 PM
F170752790: D58948.diff
Sun, Sep 6, 10:21 AM
F170728645: D58948.id184311.diff
Sun, Sep 6, 6:22 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