Re: [PATCH v10 28/33] scsi: ufs: Have scsi-ml retry start stop errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/17/23 11:29, Mike Christie wrote:
On 7/17/23 12:05 PM, Bart Van Assche wrote:
The original code only retries if ->result > 0. Is my understanding
correct that the new code retries SCSI command execution whether
->result is < 0 or > 0? If so, I think this patch introduces an
unintended behavior change.

The new code does not retry when result is < 0.

SCMD_FAILURE_RESULT_ANY is for cases where result > 0.

Right. Hence:

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux