hpsa: correct handling of HBA device removal
authorDon Brace <don.brace@microsemi.com>
Wed, 27 Apr 2016 22:14:17 +0000 (17:14 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 29 Apr 2016 23:08:24 +0000 (19:08 -0400)
commitba74fdc411b84064d7abe4b10d0708f6dad03eb2
tree71eea04b9c9745857cd4399304285335904f1b08
parent064d1b1d2d8e0b90f1a0a49112eca0d5c2a09b16
hpsa: correct handling of HBA device removal

Need to report HBA device removal faster than the
event handler polling interval.

Stop I/O to the removed disk and wait for all
I/O operations to flush before removing the device.

Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h