From: Yi Zou Date: Mon, 16 May 2011 23:45:57 +0000 (-0700) Subject: [SCSI] libfc: do not immediately retry the cmd when seq_send fails in fc_fcp_send_data X-Git-Tag: v3.0-rc1~33^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8467b96c035a45418c5db2619f396b7131b4efa8;p=pandora-kernel.git [SCSI] libfc: do not immediately retry the cmd when seq_send fails in fc_fcp_send_data Currently, when seq_send() fails in fc_fcp_send_data(), fc_fcp_retry_cmd() would complete this failed I/O directly and let scsi-ml retry. However, target side is not notified which may hang the target. Instead, we should just bail out from from fc_fcp_send_data and let scsi-ml times it out and aborts this I/O instead. Signed-off-by: Yi Zou Tested-by: Ross Brattain Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed