[SCSI] lpfc: Fix for "command completion for iotax x?? not found"
authorJames Bottomley <jejb@mulgrave.(none)>
Sat, 29 Oct 2005 15:28:33 +0000 (10:28 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 29 Oct 2005 15:28:33 +0000 (10:28 -0500)
commit604a3e3042eb89ffaa4f735ef9208281aae786c7
tree54c4ad58274b0bb79386c6c57b4849bfb92d4118
parent21568f5387636fe2bfb9ee42383d76de11ed99c7
[SCSI] lpfc: Fix for "command completion for iotax x?? not found"

From: James Smart <James.Smart@emulex.com>

There were scenarios where the error handlers could reuse an iotag
value of an active io.  Remove all possibility of this by
pre-assigning iotag resources to command resources.

Signed-off-by: James Smart <James.Smart@emulex.com>
Rejections fixed up and
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/lpfc/lpfc_crtn.h
drivers/scsi/lpfc/lpfc_ct.c
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_nportdisc.c
drivers/scsi/lpfc/lpfc_scsi.c
drivers/scsi/lpfc/lpfc_sli.c
drivers/scsi/lpfc/lpfc_sli.h