Re: [PATCH v3 0/2] scsi: mpt3sas: prevent oops in the shutdown/unload path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin, James,

On 02/22/2018 01:07 AM, Martin K. Petersen wrote:
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!

Thank you.

Are you OK with / would ack this patchset for stable (v4.14+) ?

I have the backports ready and can submit if you are OK with it.

Thanks,
Mauricio




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux