libata-eh.c: Introduce new ata port flag for controller which lockup on read log...
authorAndreas Werner <andreas.werner@men.de>
Fri, 4 Dec 2015 17:12:49 +0000 (18:12 +0100)
committerTejun Heo <tj@kernel.org>
Mon, 7 Dec 2015 15:25:57 +0000 (10:25 -0500)
commitea013a9b205b47b1fcbc72522146fad560af0712
tree4cb4246efacefc985f78987c88d36232a9d928fd
parentd98f1cd0a3b70ea91f1dfda3ac36c3b2e1a4d5e2
libata-eh.c: Introduce new ata port flag for controller which lockup on read log page

Some controller lockup on a ata_read_log_page.
Add new ata port flag ATA_FLAG_NO_LOG_PAGE which can used
to blacklist a controller.

If this flag is set, any attempt to read a log page returns an error
without actually issuing the command.

Signed-off-by: Andreas Werner <andreas.werner@men.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-eh.c
include/linux/libata.h