]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] zfcp: Adapter reopen for large number of unsolicited status
authorSwen Schillig <swen@vnet.ibm.com>
Wed, 2 Jul 2008 08:56:33 +0000 (10:56 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jul 2008 13:22:34 +0000 (08:22 -0500)
commitff597ffdb87b476e4e67f7e49a61be4fd37f864d
treedaf51c1875d1080d1dedc9094159ad44cc557a10
parent9241316bdb852bb1261856b409afa060b21f5b34
[SCSI] zfcp: Adapter reopen for large number of unsolicited status

When zfcp receives 16 unsolicited status messages, this could trigger
an adapter reopen. In this case, first try to send a new status read,
and only if this fails, go through the recovery.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_def.h