]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitfa0b89f365b1c33719067bcb660d17adbb3b3b85
tree7b9bc2cf87957074ccdbead508491081a50e19bc
parent95a63c9d324082a1c5265b96d166055a22a239a4
[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