for these drives, so we
shouldn't fail to suspend for this error case. The drive may stay
powered if that's the setup for the port it's plugged into.
Signed-off-by: Derek Basehore
Signed-off-by: Thierry Escande
---
v4 changes:
- Check sense header validity before checking the sen
for these drives, so we
shouldn't fail to suspend for this error case. The drive may stay
powered if that's the setup for the port it's plugged into.
Signed-off-by: Derek Basehore
Signed-off-by: Thierry Escande
---
v3 changes:
- Pass the sense_hdr structure to sd_sync_cache(
On 05/05/2017 11:02, Christoph Hellwig wrote:
Normally we'd just pass the scsi_sense_hdr structure in from the
caler if we care about sense data. Is this something you considered?
Not really as only the sense_key field is needed for only one call to
sd_sync_cache() (out of two).
Otherwise t
for these drives, so we
shouldn't fail to suspend for this error case. The drive may stay
powered if that's the setup for the port it's plugged into.
Signed-off-by: Derek Basehore
Signed-off-by: Thierry Escande
---
v2 changes:
- Change sense_key type to u8 in sd_sync_cache()
for these drives, so we
shouldn't fail to suspend for this error case. The drive may stay
powered if that's the setup for the port it's plugged into.
Signed-off-by: Derek Basehore
Signed-off-by: Thierry Escande
---
drivers/scsi/sd.c | 22 ++
1 file changed, 18 i
5 matches
Mail list logo