Re: [PATCH RESEND] scsi: scan: retry INQUIRY after timeout

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

 



On Tue, 2022-08-09 at 08:52 +0200, Christoph Hellwig wrote:
> > 
> > An alternative to changing all the callers would be we could make
> > scsi_noretry_cmd
> > detect when it's an internal passthrough command and just retry
> > these types of
> > errors. For SG IO type of passthough we still want to fail right
> > away.
> 
> Yes, I think one single place to do retries for setup path command
> is much better than growing ad-hoc logic.
> 
> I just made a similar comment to similar nvme patch from SuSE a few
> days
> ago..

Are you suggesting to re-invent REQ_OP_SCSI_{IN,OUT} to distinguish
SG_IO from kernel-internal passthrough?

Martin





[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