From: Chris Leech Date: Fri, 27 Feb 2009 18:55:02 +0000 (-0800) Subject: [SCSI] libfc: rport retry on LS_RJT from certain ELS X-Git-Tag: v2.6.29~41^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6755db1cd4587084be85f860b7aa7c0cc9d776dc;p=pandora-kernel.git [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 Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed