]> git.karo-electronics.de Git - linux-beck.git/commit
libata-pmp-prep: implement EH fast-fail path
authorTejun Heo <htejun@gmail.com>
Sun, 23 Sep 2007 04:14:13 +0000 (13:14 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:41 +0000 (14:55 -0400)
commit668108d73bbb1ae85f01db38d6be822fd28ece1f
tree72362b9c55d4558d3d40db647589bcc5fa1b9a09
parentf9df58cb27dfd605eced643bb3aa599fe4feeee8
libata-pmp-prep: implement EH fast-fail path

If PMP itself becomes inaccessible while trying to link a downstream
link, spending time to recover the downstream link doesn't make any
sense.  Make EH skip retry and fail fast if -ERESTART is received.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-eh.c