James Bottomley wrote:
On Wed, 2006-05-17 at 01:08 +0900, Tejun Heo wrote:
It's handled the same way shost->host_failed is handled.
scsi_device_unbusy() wakes it up when the condition is met.
That's the piece I hadn't spotted, yet ... thanks. That will do it.
could you move ata_schedule_scsi_eh to scsi_error (with the appropriate
API rename). That way the SCSI state model changes aren't in libata
(and no-one else who wants to use this has to open code the
ata_schedule_scsi_eh API).
ACK
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html