summaryrefslogtreecommitdiff
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorTodd Brandt <todd.e.brandt@linux.intel.com>2014-03-15 00:52:54 +0400
committerTejun Heo <tj@kernel.org>2014-03-19 00:08:38 +0400
commit200421a80f6e0a9e39d698944cc35cba103eb6ce (patch)
treeebe23c5debffa5e8cc0af395a8a7eda5fc62aaf6 /include/linux/libata.h
parentbc6e7c4b0d1a1f742d96556f63d68f17f4e232c3 (diff)
downloadlinux-200421a80f6e0a9e39d698944cc35cba103eb6ce.tar.xz
libata: async resume
Improve overall system resume time by making libata link recovery actions asynchronous relative to other resume events. Link resume operations are performed using the scsi_eh thread, so commands, particularly the sd resume start/stop command, will be held off until the device exits error handling. Libata already flushes eh with ata_port_wait_eh() in the port teardown paths, so there are no concerns with async operation colliding with the end-of-life of the ata_port object. Also, libata-core is already careful to flush in-flight pm operations before another round of pm starts on the given ata_port. Reference: https://01.org/suspendresume/blogs/tebrandt/2013/hard-disk-resume-optimization-simpler-approach Cc: Len Brown <len.brown@intel.com> Cc: Phillip Susi <psusi@ubuntu.com> Cc: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Todd Brandt <todd.e.brandt@linux.intel.com> [djbw: rebase on cleanup patch, changelog wordsmithing] Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/libata.h')
0 files changed, 0 insertions, 0 deletions