]> git.baikalelectronics.ru Git - kernel.git/commit
libata: skip EH autopsy and recovery during suspend
authorTejun Heo <htejun@gmail.com>
Tue, 7 Sep 2010 12:05:31 +0000 (14:05 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 10 Sep 2010 02:27:59 +0000 (22:27 -0400)
commitdbbf01a655716ea92821f4e0249b4c27e7c5bb8e
treeb98d70dadfe9143453494bd145a53c06910df4f7
parent887a495d7e99fbc51429b154bd09af711a4c3c4d
libata: skip EH autopsy and recovery during suspend

For some mysterious reason, certain hardware reacts badly to usual EH
actions while the system is going for suspend.  As the devices won't
be needed until the system is resumed, ask EH to skip usual autopsy
and recovery and proceed directly to suspend.

Signed-off-by: Tejun Heo <tj@kernel.org>
Tested-by: Stephan Diestelhorst <stephan.diestelhorst@amd.com>
Cc: stable@kernel.org
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c
drivers/ata/libata-eh.c
include/linux/libata.h