]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
[SCSI] ibmvfc: Improve ADISC timeout handling
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 20 Mar 2009 20:44:39 +0000 (15:44 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 3 Apr 2009 14:22:43 +0000 (09:22 -0500)
commit10501e1ce3d97cc84a8e29a3a139f74601b59b0f
tree47ba1a14b3c3843efc4b39eff17424da391c73b5
parent9ab3610f9c24e7f303f1b0e6bb88a5f804ab847e
[SCSI] ibmvfc: Improve ADISC timeout handling

The ibmvfc driver currently breaks the CRQ and essentially
resets the entire virtual FC adapter, killing all outstanding
ops to all attached targets, if an ADISC times out during target
discover/rediscovery. This patch adds some code to cancel the
ADISC if it times out, which prevents a single ADISC timeout from
affecting the other devices attached to the fabric.

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