scsi: smartpqi: improve error checking for sync requests
authorKevin Barnett <kevin.barnett@microsemi.com>
Mon, 18 Jun 2018 18:22:48 +0000 (13:22 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 20 Jun 2018 02:02:25 +0000 (22:02 -0400)
commit26b390aba2a8f7b9dd5ce4e3ada9431de327da6d
tree3cb85997281c40ffdfa78becc585d6af6626d41d
parent957c5ab108c7d98369b7524daea532c0ebbcf845
scsi: smartpqi: improve error checking for sync requests

Detect rare error cases for synchronous requests down the RAID path.

Also retry INQUIRY of VPD page 0 sent to an HBA drive if the command failed
due to an abort.

Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi.h
drivers/scsi/smartpqi/smartpqi_init.c