Re: [linux-pm] [RFC] Deferred disk spinup during system resume

Jeff Garzik
2011-01-07T03:17:00Z

On 01/06/2011 08:17 PM, maksim.rayskiy@gmail.com wrote:
> Jeff,
>
> Okay, I moved EH scheduling to ata_qc_issue(). But since now START taskfile is
> created in ata_eh_maybe_verify() I do not see why the same code has to
> remain in ata_scsi_start_stop_xlat. Does it make sense?

The taskfile you are to pass to the hardware is created in
atapi_start_stop_xlat(), so you should not create a new taskfile in
ata_eh_maybe_verify()

Jeff