mpt2sas : Rescan topology from Interrupt context instead of work thread
commit38032be19da873f705202370f63772e0f5b610b5
authorKashyap, Desai <kashyap.desai@lsi.com>
Thu, 20 Aug 2009 07:50:54 +0000 (20 13:20 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Sep 2009 15:43:48 +0000 (24 08:43 -0700)
treead66c2fc8b3ef15427c6698fdab9df7f294d7714
parent57f4fc5e83927aa807b877a848dec6d280f2ee22
mpt2sas : Rescan topology from Interrupt context instead of work thread

commit cd4e12e8ad246ec5bc23ab04d0da0e6985025620 upstream.

Following host reset its possible that the controller firmware could
assign new handles for devices, as well as adding or deleting devices. There is
code in the driver that will rescan the topology folowing host reset; updating
device handles, and remove devices that are no longer responding. This patch
will improve the responsivness by moving this rescaning from the delayed hotplug
worker thread to immediately following the host reset.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Reviewed-by: Eric Moore <Eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/mpt2sas/mpt2sas_base.c
drivers/scsi/mpt2sas/mpt2sas_base.h
drivers/scsi/mpt2sas/mpt2sas_scsih.c