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