scsi: smartpqi: Reporting 'logical unit failure'
authorErwan Velu <e.velu@criteo.com>
Fri, 1 Mar 2019 16:08:06 +0000 (17:08 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 6 Mar 2019 17:31:35 +0000 (12:31 -0500)
commit441b7195e2812f2d7a9dafe02f052f642957bd8f
treece67f28076bd9fc07b51551f534a6bd8c5e76e99
parent26af1a368e40618d67956b1f883fbcfec292c5d8
scsi: smartpqi: Reporting 'logical unit failure'

When the HARDWARE_ERROR/0x3e/0x1 case is triggered, the logical volume
is offlined.  When reading the kernel log, the reason why the device
got offlined isn't reported to the user.  This situation makes it
difficult for admins to root cause.

Log a message when this condition occurs.

[mkp: tweaked commit message]

Signed-off-by: Erwan Velu <e.velu@criteo.com>
Acked-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi_init.c