]> git.baikalelectronics.ru Git - kernel.git/commit
libata-eh: Set 'information' field for autosense
authorHannes Reinecke <hare@suse.de>
Fri, 27 Mar 2015 15:46:37 +0000 (16:46 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 27 Mar 2015 15:59:22 +0000 (11:59 -0400)
commitb2cd13343d8116c3120d7533bcf1b7b089f14754
tree3b694223de3a939c51271f779966f1a11c74c74b
parentb9e2a3f13e5b9839905de997126959beb897fe0d
libata-eh: Set 'information' field for autosense

If NCQ autosense or the sense data reporting feature is enabled
the LBA of the offending command should be stored in the sense
data 'information' field.

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