Re: [RFC PATCH v2] scsi: scan: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT

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

 



Li,

> commit 84961f28e9d1 ("[SCSI] Don't add scsi_device for devices that
> return PQ=1, PDT=0x1f") returns SCSI_SCAN_TARGET_PRESENT if inquiry
> returns PQ=1, and PDT = 0x1f. However, from the scsi spec, it seemed
> setting PQ=1, and PDT to the type it is capable to support, can also
> mean the device is not connected. E.g. we see an IBM/2145 returns PQ=1
> and PDT=0 for a non mapped lun (details attached at the end).
>
> This patch changes the check condition a bit, so the check don't
> require PTD to be 0x1f when PQ=1.

Applied to 5.2/scsi-queue. Thank you!

-- 
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