linux-stable/include/scsi/fc
Chris Leech 6755db1cd4 [SCSI] libfc: rport retry on LS_RJT from certain ELS
This allows any rport ELS to retry on LS_RJT.

The rport error handling would only retry on resource allocation failures
and exchange timeouts.  I have a target that will occasionally reject PLOGI
when we do a quick LOGO/PLOGI.  When a critical ELS was rejected, libfc would
fail silently leaving the rport in a dead state.

The retry count and delay are managed by fc_rport_error_retry.  If the retry
count is exceeded fc_rport_error will be called.  When retrying is not the
correct course of action, fc_rport_error can be called directly.

Signed-off-by: Chris Leech <christopher.leech@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-03-06 15:39:34 -06:00
..
fc_els.h [SCSI] FC protocol definition header files 2008-12-29 11:24:32 -06:00
fc_encaps.h [SCSI] FC protocol definition header files 2008-12-29 11:24:32 -06:00
fc_fc2.h [SCSI] FC protocol definition header files 2008-12-29 11:24:32 -06:00
fc_fcoe.h [SCSI] FC protocol definition header files 2008-12-29 11:24:32 -06:00
fc_fcp.h [SCSI] FC protocol definition header files 2008-12-29 11:24:32 -06:00
fc_fs.h [SCSI] libfc: rport retry on LS_RJT from certain ELS 2009-03-06 15:39:34 -06:00
fc_gs.h [SCSI] FC protocol definition header files 2008-12-29 11:24:32 -06:00
fc_ns.h [SCSI] FC protocol definition header files 2008-12-29 11:24:32 -06:00