Re: [PATCH] scsi: smartpqi: Reporting unhandled SCSI errors

From: Martin K. Petersen
Date: Mon May 13 2019 - 20:32:03 EST



>> When a HARDWARE_ERROR is triggered for asc=0x3e, the actual code is
>> only considering the case where ascq=0x1.
>>
>> Following the http://www.t10.org/lists/asc-num.htm#ASC_3E
>> specification, other values may occur like a timeout (ascq=0x2).
>>
>> This patch is about printing an error message when a non-handled
>> message is received. This could help diagnose a possible
>> miss-behavior of the controller and/or a missing implementation in
>> the Linux Kernel.
>>
>> This patch keeps the exact same error handling but prints a message
>> if an ascq != 1 income.
>>
>> Signed-off-by: Erwan Velu <e.velu@xxxxxxxxxx>
> Acked-by: Don Brace <don.brace@xxxxxxxxxxxxx>

Applied to 5.2/scsi-queue. Thanks!

--
Martin K. Petersen Oracle Linux Engineering