error handling in sd_suspend()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | SCSI: sd_suspend: evaluate lower layers' returnsdrivers/ | +20 | 0 replies | |
| 2/2 | SCSI: sd_resume_ don't leak SCSI error codesdrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2]error handling in sd_suspend()
Hi,
I've encountered a problem when sd_suspend() races disconnect handling of SATA. This race can lead to needlessly aborted suspensions. To avoid this problem. I suggest evaluating the error returns from the lower layers, to tell us whether a problem is transient or totally unrecoverable. If a transient problem occurs we should not go to sleep and in some cases suggest that the upper layer retry. An unrecoverable error, such as a device going away can be ignored.
Regards
Oliver