Let sleeping disks lie
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | libata: use sleep instead of standby commanddrivers/ | +2 | 0 replies | |
| 1/6 | libata: use sleep instead of standby commanddrivers/ | +2 | 0 replies | |
| 2/6 | libata: avoid waking disk to check powerdrivers/ | +8 | 1 reply | |
| 2/6 | libata: avoid waking disk for several commandsdrivers/ | +16 | 0 replies | |
| 3/6 | sd: don't bother spinning up disks on resumedrivers/ include/ | +4 | 2 replies | |
| 3/6 | libata: resume in the backgrounddrivers/ | +4 | 3 replies | |
| 4/6 | libata: resume in the backgrounddrivers/ | +4 | 1 reply | |
| 4/6 | libata: don't start disks on resumedrivers/ drivers/ drivers/ +1 more | +20 | 0 replies | |
| 5/6 | libata: don't start disks on resumedrivers/ drivers/ drivers/ +1 more | +20 | 0 replies | |
| 5/6 | sd: don't start disks on system resumedrivers/ drivers/ | +86 | 4 replies | |
| 6/6 | libata: fake some more commands when drive is sleepingdrivers/ | +5 | 0 replies | |
| 6/6 | libata: return power status in REQUEST SENSE commanddrivers/ | +34 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] Let sleeping disks lie
I've made a few corrections and extentions to this patch set after more testing. Changes include fixing the faked command to return the correct status, fixing some errors and adding more commands to be faked.
The one command I have yet to figure out how to fake is IDENTIFY DEVICE, which I would like to just have return the cached identify block, but am not sure how to get from the qc's scattergather list to a memory pointer I can memcpy to.
Phillip Susi (6):
libata: use sleep instead of standby command
libata: avoid waking disk to check power
sd: don't bother spinning up disks on resume
libata: resume in the background
libata: don't start disks on resume
libata: fake some more commands when drive is sleeping
drivers/ata/libata-core.c | 34 ++++++++++++++++++++++++++-------- drivers/ata/libata-eh.c | 10 ++++++++-- drivers/ata/libata-scsi.c | 4 ++-- drivers/ata/libata.h | 1 + drivers/scsi/sd.c | 6 +++--- include/linux/libata.h | 1 + include/scsi/scsi_device.h | 2 +- 7 files changed, 42 insertions(+), 16 deletions(-)
Signature · 1 line
1.8.3.2