]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hpsa: correct handling of HBA device removal
authorDon Brace <don.brace@microsemi.com>
Fri, 6 May 2016 19:17:57 +0000 (12:17 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 22 May 2016 21:50:37 +0000 (14:50 -0700)
commitbce9006af1a0d3bbe32a405a78d91502fa8c9c81
treece442a3c99c68aae47d320521165f33c1bf9f774
parent0cf377ec3800431329234907543c79311188852d
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>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Orabug: 23064595
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h