Re: [PATCH v2 15/30] cxlflash: Fix location of setting resid
From: Brian King <hidden>
Date: 2015-09-21 18:28:40
Also in:
linux-scsi
From: Brian King <hidden>
Date: 2015-09-21 18:28:40
Also in:
linux-scsi
On 09/16/2015 04:30 PM, Matthew R. Ochs wrote:
@@ -158,8 +160,7 @@ static void process_cmd_err(struct afu_cmd *cmd, struct scsi_cmnd *scp) /* If the SISL_RC_FLAGS_OVERRUN flag was set, * then we will handle this error else where. * If not then we must handle it here. - * This is probably an AFU bug. We will - * attempt a retry to see if that resolves it. + * This is probably an AFU bug.
I would tend to agree with this statement. ioasa->resid should be zero in an overrun case.
*/ scp->result = (DID_ERROR << 16); }
Reviewed-by: Brian King <redacted> -- Brian King Power Linux I/O IBM Linux Technology Center