]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] ibmvfc: Ignore fabric RSCNs when link is dead
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 24 Aug 2012 21:51:01 +0000 (16:51 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:10:59 +0000 (12:10 +0400)
commite9fc4385d03102830a0ba2abff10712143bb4036
tree0ffb0d9b7da76ecdcfb78a47b1b50d07ec8def03
parent5de53a96b5754835361f185e69c45bcd7a73a4fa
[SCSI] ibmvfc: Ignore fabric RSCNs when link is dead

This fixes an issues seen where a Fabric RSCN event was received
while the link was down, which resulted in repeated attempts to log back
into the fabric, which then failed, resulting in the ibmvfc driver
taking the host offline. Fix this by delaying taking any action
regarding the fabric RSCN until the link comes back up.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ibmvscsi/ibmvfc.c