]> 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)
commit89025cadda0f6fef3b6716921ea94b71cd83ecef
tree71eea04b9c9745857cd4399304285335904f1b08
parentcb3ab09183eaf5989ab89c388088db3ee9691797
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