Re: [PATCH v12 02/20] scsi: Have scsi-ml retry scsi_probe_lun errors

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

 



On 14/11/2023 01:37, Mike Christie wrote:
/* Each pass gets up to three chances to ignore Unit Attention */
+	scsi_reset_failures(&failures);
+
  	for (count = 0; count < 3; ++count) {

So do we keep this loop for the USB workaround (not shown)? I just wonder why we retry in this outer loop as well as now inside scsi_execute_cmd(). Maybe I'm missing something ....

Thanks,
John

  		memset(scsi_cmd, 0, 6);
  		scsi_cmd[0] = INQUIRY;




[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