scsi: Revert "scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT"
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 27 Jan 2023 03:06:08 +0000 (22:06 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 27 Jan 2023 03:06:08 +0000 (22:06 -0500)
commit15600159bcc6abbeae6b33a849bef90dca28b78f
tree280718883ef1f067971218ac6cd66ec737782dbe
parent2542fc9578d49b3b376231269d4c7c7d4cffd62a
scsi: Revert "scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT"

This reverts commit 948e922fc44611ee2de0c89583ca958cb5307d36.

Not all targets that return PQ=1 and PDT=0 should be ignored. While
the SCSI spec is vague in this department, there appears to be a
critical mass of devices which rely on devices being accessible with
this combination of reported values.

Fixes: 948e922fc446 ("scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT")
Link: https://lore.kernel.org/r/yq1lelrleqr.fsf@ca-mkp.ca.oracle.com
Acked-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Martin Wilck <mwilck@suse.com>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_scan.c