error handling in sd suspend
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | USB: sd: sd_start_stop_device proper error codesdrivers/ | +5 | 0 replies | |
| 2/3 | SCSI:sd:error handling in sd_sync_cache()drivers/ | +24 | 0 replies | |
| 3/3 | SCSI:sd: sd_start_stop_device() error handlingdrivers/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3]error handling in sd suspend
Hi,
this patch series introduces proper error handling into sd suspend handling. This fixes several issue:
- errror codes are sanitized so that SCSI errors don't get into generic PM code
- the error returns from synchronizing the cache are evaluated and translated for the upper layer, this particularly helps when unplug races suspend eSATA is likely to do this, as it takes very long to handle an unplug.
- the error returns for stopping the unit are likewise sanitized
Regards
Oliver