On Wed, Aug 03, 2016 at 03:13:04PM +0200, Hannes Reinecke wrote:
> If a command times out libfc is sending an REC, which also
> might fail (due to frames being lost or something).
> If no data has been transferred we can simply retry
> the command, but the current code sets a state of FC_ERROR,
> which then is being translated into DID_ERROR, resulting
> in an I/O error.
> So to handle this properly we need to set a separate
> state FC_TRANS_RESET and mapping it onto DID_SOFT_RETRY.
> 
> Signed-off-by: Hannes Reinecke <h...@suse.de>
> ---

Can you try to get that message into one line?

>       case FC_HRD_ERROR:
>               FC_FCP_DBG(fsp, "Returning DID_NO_CONNECT to scsi-ml "
>                          "due to FC_HRD_ERROR\n");

Otherwise:

Acked-by: Johannes Thumshirn <j...@kernel.org>

-- 
Johannes Thumshirn                                          Storage
jthumsh...@suse.de                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to