Re: [PATCH 4/5] scsi: blocking IO when host is blocked

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

 



On 3/24/23 18:17, Ye Bin wrote:
+	if (unlikely(scsi_host_blocked(shost)))
+		goto out_dec_target_busy;
I this check would be moved earlier then the atomic_inc() and atomic_dec() of scsi_target(sdev)->target_busy could be skipped.

Thanks,

Bart.



[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