libata: add no penalty retry request for EH device handling routines
authorTejun Heo <tj@kernel.org>
Thu, 29 Jan 2009 11:31:35 +0000 (20:31 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 3 Feb 2009 04:04:19 +0000 (23:04 -0500)
commitcf9a590a9eae3b99ca77d8db17afd2d7dbdd0986
tree793d23cfe978d8048243baddd57b4ec8979c5e14
parentc2c7a89c5eabaea8c0c2aa0c1069e510144513ab
libata: add no penalty retry request for EH device handling routines

Let -EAGAIN from EH device handling routines trigger EH retry without
consuming its tries count.  This will be used to implement link SPD
horkage which requires hardreset to adjust SPD without affecting other
EH decisions.  As it bypasses the forward progress guarantee provided
by the tries count, the requester is responsible for ensuring forward
progress.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-eh.c