On Thu, Dec 30, 2010 at 04:49:29PM -0800, Maksim Rayskiy wrote:
Yeah, it was asynchronous for a while when suspend/resume were
implemented in libata proper. It's a bit trickier to do that with sd
doing the higher level part. Hmmm... most SATA disks spin up
automatically anyway so disabling START_STOP from sd should do the
trick. Does the following achieve async resume?
echo 0 > /sys/block/sdX/device/scsi_disk/h:c:i:l/manage_start_stop
The problem is that the above would also prevent the kernel from
issuing STANDBY_NOW on suspend or power down. Maybe we should just
make start_stop_xlat schedule async EH action instead.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html