Re: [PATCH] scsi: core: Add a precondition check in scsi_eh_scmd_add()

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

 



Bart,

> Calling scsi_eh_scmd_add() may cause the error handler never to be
> woken up because this may result in shost->host_failed to become
> larger than scsi_host_busy(shost). Hence complain if
> scsi_eh_scmd_add() is called after SCMD_STATE_INFLIGHT has been
> cleared.

Applied to 6.8/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering




[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