]> err.no Git - linux-2.6/commit
libata-pmp-prep: implement ATA_LFLAG_DISABLED
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)
commitf9df58cb27dfd605eced643bb3aa599fe4feeee8
tree23b5151855d07f3b25c081e29d14f5d353367248
parentfd995f7039f1955ccc6b43e1e2d168060b31e4b2
libata-pmp-prep: implement ATA_LFLAG_DISABLED

Implement ATA_LFLAG_DISABLED.  The flag indicates the link is disabled
due to EH recovery failure.  While a link is disabled, no EH action is
taken on the link and suspend/resume become noop too.

This will be used by PMP links to manage failed links.

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