Mauricio, > The first patch prevents the SCSI error handlers to run once the > shutdown/unload path starts. This avoids an oops at least in the host > reset handler, on kernels with a recent patch, and also in the abort > handler on kernels without that patch. > > The second patch goes a step further, and prevents the SCSI error > handlers to be called for SCSI IO commands running at the > shutdown/unload time (in case adapter interrupts are disabled before > they complete) by finishing them. > > Notice the second patch only affects SCSI IO commands. Other command > types, e.g., Task Manangement Functions, which are running at the > shutdown/unload time still must be handled separately -- this is also > covered in patch 1. Applied to 4.16/scsi-fixes. Thank you! -- Martin K. Petersen Oracle Linux Engineering