]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] mpt2sas: when Async scanning is enabled then while scanning, devices are remov...
authorSreekanth Reddy <Sreekanth.Reddy@lsi.com>
Thu, 25 Jul 2013 06:01:12 +0000 (11:31 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 3 Sep 2013 14:27:52 +0000 (07:27 -0700)
commit394afb3816d1b30a886254e7a5520fd1b902baa7
treeacd275fff02c79f551948a70bff6813e99a35db6
parenta6b0cd67b35b39808ee897047db506cfbd6ff719
[SCSI] mpt2sas: when Async scanning is enabled then while scanning, devices are removed but their transport layer entries are not removed

When Async scanning mode is enabled and device scanning is in progress then
devices should not be removed. But in actuality, devices are removed but
their transport layer entries are not removed. This causes error to add
the same device to the transport layer after host reset or diagnostic
reset.

So, in this patch, modified the code in such a way that device is not removed
when Async scanning mode is enabled and device scanning is in progress.

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