[SCSI] zfcp: Adapter reopen for large number of unsolicited status
commit7afe29f7dd6dccbe454d7fd6cd6a5a7f7bcbc530
authorSwen Schillig <swen@vnet.ibm.com>
Wed, 2 Jul 2008 08:56:33 +0000 (2 10:56 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jul 2008 13:22:34 +0000 (12 08:22 -0500)
treedaf51c1875d1080d1dedc9094159ad44cc557a10
parent3968ce800f45d8795ceb6f186c1efe420c98e1b0
[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