]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b5d4092d3c4ab79c64e6aad929721b9dba4ed84
tree71eea04b9c9745857cd4399304285335904f1b08
parentc38496a853432363f2e53985b30731441ad81dfe
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