[SCSI] mpt2sas : Rescan topology from Interrupt context instead of work thread
authorKashyap, Desai <kashyap.desai@lsi.com>
Thu, 20 Aug 2009 07:50:54 +0000 (13:20 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 5 Sep 2009 14:34:21 +0000 (09:34 -0500)
commitcd4e12e8ad246ec5bc23ab04d0da0e6985025620
treed70dec04648c16b4c04d20935207d38a6eceb6e4
parent69cb48750b02034350bc78d8053647d7464cdde0
[SCSI] mpt2sas : Rescan topology from Interrupt context instead of work thread

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>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_base.c
drivers/scsi/mpt2sas/mpt2sas_base.h
drivers/scsi/mpt2sas/mpt2sas_scsih.c