]> git.baikalelectronics.ru Git - kernel.git/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)
commitffe7b7678523eeeeb0cb51c8e549aa050b63df47
tree23b5151855d07f3b25c081e29d14f5d353367248
parent18b6ad78c5e622ab3909f1f1e8a841aae993a0ba
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