]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
scsi: aacraid: Do not remove offlined devices
authorRaghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Wed, 27 Dec 2017 04:34:25 +0000 (20:34 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Jan 2018 04:26:41 +0000 (23:26 -0500)
commit95900629fa7dd0af7be5e9a8fdbc9d902fa3c8c7
treeb5e870d2c2f1c70c7af116a5e58e9f1381e34188
parentc5313ae8e4e037bfaf5e56cb8d6efdb8e92ce437
scsi: aacraid: Do not remove offlined devices

As part of the recovery process, the drivers removes offline devices (
done by the kernel) and then tries to add them back in the rescan code.
Removing the device is like taking a sledgehammer to a nail.

Set the device as running if it is marked offline.

Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/commsup.c