12163 mpt_sas: Collateral damage caused by dead SATA disk

Review Request #2479 - Created Jan. 7, 2020 and submitted

Marcel Telka
This fixes a bug in the mpt_sas driver that could cause many disks outage after
the controller reset if there is one bad SATA disk attached to the controller.
I tried to force mpt_sas resets with this fix and the massive disks outage is
no longer reproducible.

Also, with this fix the machine is able to boot with all disks available
(except the dead one, of course).
Andrew Stormont
Toomas Soome
Marcel Telka
Review request changed

Status: Closed (submitted)

Change Summary:

commit d59679dc4ee5ea26c61e7762a3f7a6f74a1f4c2c
Author:     Marcel Telka <marcel@telka.sk>
AuthorDate: Tue Jan 7 11:20:36 2020 +0100
Commit:     Robert Mustacchi <rm@fingolfin.org>
CommitDate: Wed Jan 8 07:34:36 2020 +0000

    12163 mpt_sas: Collateral damage caused by dead SATA disk
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Stefan Behrens <sbehrens@giantdisaster.de>
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Approved by: Garrett D'Amore <garrett@damore.org>

:100644 100644 4784a6b1a6 66256a2aa2 M	usr/src/uts/common/io/scsi/adapters/mpt_sas/mptsas.c