libata: Implement NCQ autosense
authorHannes Reinecke <hare@suse.de>
Mon, 4 Apr 2016 09:43:54 +0000 (11:43 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 4 Apr 2016 16:07:40 +0000 (12:07 -0400)
commit5b01e4b9efa0b78672cbbea830c9fbcc7f239e29
tree86eab8729d8327160e5c632befcea455a6e3bd32
parentd991c872ac7ffaacc4df93efbfbcb4189cee6440
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