]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] mpt2sas: Fix for With post diag reset same set of device gets added, removed...
authorsreekanth.reddy@lsi.com <sreekanth.reddy@lsi.com>
Tue, 17 Jul 2012 10:26:13 +0000 (15:56 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 24 Aug 2012 09:10:27 +0000 (13:10 +0400)
commitd9e97b6d384ab17043eca0f1707d8e4b88a5d3b0
tree14b8bb0fb01564aac67672fce99374ccfd1acbe6
parent135570dc43e63760905531efe0b6c2e44827be89
[SCSI] mpt2sas: Fix for With post diag reset same set of device gets added, removed and then again gets added with new target ids

When device discovery is disabled during driver load time using module
parameter "disable_discovery=1" and when diag reset is issued then from logs,
it is observed that the devices get added, removed and then added with new
target ids.

So, in order to limit this turn-off the code which is deleting and devices
across host reset when the disable_discovery module parameter is turned on.

Signed-off-by: Sreekanth Reddy <sreekanth.reddy@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c