[SCSI] mptfc: stall eh handlers if resetting while rport blocked
authorMichael Reed <mdr@sgi.com>
Fri, 6 Oct 2006 20:39:25 +0000 (15:39 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 25 Oct 2006 22:12:21 +0000 (15:12 -0700)
commit35508e46aae4b57bd07d095eb11533e296b254dc
tree7b9bc2cf87957074ccdbead508491081a50e19bc
parent11010fecd2a1fdae684237b61709367ae6a93289
[SCSI] mptfc: stall eh handlers if resetting while rport blocked

Thanks to James Smart for the inspiration.

Stall error handler if attempting recovery while an rport is blocked.
This avoids device offline scenarios due to errors in the error handler.
Also verify that VirtDevice is available before issuing scsi command.
VirtDevice is removed when fc transport removes a target.

See James Smart's patch of 08/17/2006 for greater detail.

http://marc.theaimsgroup.com/?l=linux-scsi&m=115583213624803&w=2

Also bump version number per Eric's request.

Signed-off-by: Michael Reed <mdr@sgi.com>
Acked-by: Eric Moore <eric.moore@lsil.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/message/fusion/mptbase.h
drivers/message/fusion/mptfc.c