Re: [PATCH v6 4/6] scsi: add BLIST_NO_LUN_1F blacklist flag
From: Niklas Cassel
Date: Wed Jun 17 2026 - 08:23:37 EST
Hello Martin,
On Mon, Jun 15, 2026 at 09:09:20PM -0400, Martin K. Petersen wrote:
>
> Phil,
>
> > Some multi-LUN devices respond to INQUIRY on unpopulated LUNs with
> > PQ=0 / PDT=0x1f instead of the standard PQ=3. The SCSI scan layer
> > normally adds such devices (PQ=0 means "connected"), producing
> > spurious "No Device" entries.
> >
> > The scsi_target field pdt_1f_for_no_lun already exists to suppress
> > this, but was previously only set by the USB UFI driver.
> >
> > Add BLIST_NO_LUN_1F so the flag can be set per-device from
> > scsi_devinfo, and wire it up in scsi_add_lun() to set
> > starget->pdt_1f_for_no_lun from the blacklist flags. This runs
> > during LUN 0 processing, before the sequential LUN scan probes
> > higher LUNs.
>
> Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
Thank you for reviewing!
There was already a v7 out when your sent your review:
https://lore.kernel.org/linux-ide/20260611024356.2769320-1-philpem@xxxxxxxxxxxxx/T/#t
It looks like this patch [4/6] was modified in v7.
Patch [6/6] appears unmodified.
Kind regards,
Niklas