On Thu, 2013-08-01 at 23:40 +0000, Brandt, Todd E wrote:
> This patch is a potential way to reduce the S3 resume time for SATA drives.
> Essentially this patch removes the hard disk resume time from the total
> system resume time, with the disks still taking as long to come back online
> but in the background.
>
> The major bottleneck is in the ata port resume which sends out a wakeup
> command and then waits up to several seconds for the port to resume. This
> patch changes the ata_port_resume_common function to be non blocking. The
> other bottleneck is in the scsi disk resume code, which issues a a command to
> startup the disk with blk_execute_rq, which then waits for the command to
> finish (which also depends on the ata port being fully resumed). The patch
> switches the sd_resume function to use blk_execute_rq_nowait instead (the
> underlying code is identical to sd_resume, but is changed to non-blocking).
But how do we know the command has succeeded?
Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html