libata: Implement NCQ autosense
authorHannes Reinecke <hare@suse.de>
Fri, 27 Mar 2015 15:46:35 +0000 (16:46 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 27 Mar 2015 15:59:22 +0000 (11:59 -0400)
commit42b966fbf35da9c87f08d98f9b8978edf9e717cf
treea7fd32da1b3a746cab71966d42a08aeeb0d7203d
parent1308d7f0107b264b480e7048dc345fc6b7408e7e
libata: Implement NCQ autosense

Some newer devices support NCQ autosense (cf ACS-4), so we should
be using it to retrieve the sense code and speed up recovery.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-eh.c
drivers/ata/libata-scsi.c
drivers/ata/libata.h
include/linux/ata.h