]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mpt2sas: Fix for With post diag reset same set of device gets added, removed and...
authorsreekanth.reddy@lsi.com <sreekanth.reddy@lsi.com>
Tue, 17 Jul 2012 10:26:13 +0000 (15:56 +0530)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 27 Aug 2012 14:09:30 +0000 (07:09 -0700)
commit5219b13a4f3fa7d6826dad636fcf8bc7f5cb93ec
treef475ed7d9198babcd0fd3dfcd2f8ea7bfe317655
parent82017b22843129b4aeb20d6d84345c442a9fffa2
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