* [PATCH] scsi: scsi_devinfo: blacklist HPE/DISK-SUBSYSTEM
@ 2025-10-04 14:54 Xose Vazquez Perez
2025-11-22 22:16 ` Xose Vazquez Perez
0 siblings, 1 reply; 4+ messages in thread
From: Xose Vazquez Perez @ 2025-10-04 14:54 UTC (permalink / raw)
Cc: Xose Vazquez Perez, Ewan D. Milne, Anthony Cheung, Takahiro Yasui,
Matthias Rudolph, James E.J. Bottomley, Martin K. Petersen,
SCSI-ML
DISK-SUBSYSTEM is a special model name returned when LUs are not installed
in "OPEN-" models. Full info: https://marc.info/?l=linux-scsi&m=125424006417825
Cc: Ewan D. Milne <emilne@redhat.com>
Cc: Anthony Cheung <anthony.cheung@hpe.com>
Cc: Takahiro Yasui <takahiro.yasui@hitachivantara.com>
Cc: Matthias Rudolph <Matthias.Rudolph@hitachivantara.com>
Cc: James E.J. Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: SCSI-ML <linux-scsi@vger.kernel.org>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
drivers/scsi/scsi_devinfo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c
index 78346b2b69c9..b39019f57db6 100644
--- a/drivers/scsi/scsi_devinfo.c
+++ b/drivers/scsi/scsi_devinfo.c
@@ -185,6 +185,7 @@ static struct {
{"HP", "C5713A", NULL, BLIST_NOREPORTLUN},
{"HP", "DISK-SUBSYSTEM", "*", BLIST_REPORTLUN2},
{"HPE", "OPEN-", "*", BLIST_REPORTLUN2 | BLIST_TRY_VPD_PAGES},
+ {"HPE", "DISK-SUBSYSTEM", "*", BLIST_REPORTLUN2},
{"IBM", "AuSaV1S2", NULL, BLIST_FORCELUN},
{"IBM", "ProFibre 4000R", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
{"IBM", "2076", NULL, BLIST_NO_VPD_SIZE},
--
2.51.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] scsi: scsi_devinfo: blacklist HPE/DISK-SUBSYSTEM
2025-10-04 14:54 [PATCH] scsi: scsi_devinfo: blacklist HPE/DISK-SUBSYSTEM Xose Vazquez Perez
@ 2025-11-22 22:16 ` Xose Vazquez Perez
2025-11-24 14:06 ` Christoph Hellwig
0 siblings, 1 reply; 4+ messages in thread
From: Xose Vazquez Perez @ 2025-11-22 22:16 UTC (permalink / raw)
Cc: Ewan D. Milne, Anthony Cheung, Takahiro Yasui, Matthias Rudolph,
James E.J. Bottomley, Martin K. Petersen, SCSI-ML
On 10/4/25 4:54 PM, Xose Vazquez Perez wrote:
Same here, any problem/drawback?
> DISK-SUBSYSTEM is a special model name returned when LUs are not installed
> in "OPEN-" models. Full info: https://marc.info/?l=linux-scsi&m=125424006417825
>
> Cc: Ewan D. Milne <emilne@redhat.com>
> Cc: Anthony Cheung <anthony.cheung@hpe.com>
> Cc: Takahiro Yasui <takahiro.yasui@hitachivantara.com>
> Cc: Matthias Rudolph <Matthias.Rudolph@hitachivantara.com>
> Cc: James E.J. Bottomley <James.Bottomley@HansenPartnership.com>
> Cc: Martin K. Petersen <martin.petersen@oracle.com>
> Cc: SCSI-ML <linux-scsi@vger.kernel.org>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
> ---
> drivers/scsi/scsi_devinfo.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c
> index 78346b2b69c9..b39019f57db6 100644
> --- a/drivers/scsi/scsi_devinfo.c
> +++ b/drivers/scsi/scsi_devinfo.c
> @@ -185,6 +185,7 @@ static struct {
> {"HP", "C5713A", NULL, BLIST_NOREPORTLUN},
> {"HP", "DISK-SUBSYSTEM", "*", BLIST_REPORTLUN2},
> {"HPE", "OPEN-", "*", BLIST_REPORTLUN2 | BLIST_TRY_VPD_PAGES},
> + {"HPE", "DISK-SUBSYSTEM", "*", BLIST_REPORTLUN2},
> {"IBM", "AuSaV1S2", NULL, BLIST_FORCELUN},
> {"IBM", "ProFibre 4000R", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
> {"IBM", "2076", NULL, BLIST_NO_VPD_SIZE},
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] scsi: scsi_devinfo: blacklist HPE/DISK-SUBSYSTEM
2025-11-22 22:16 ` Xose Vazquez Perez
@ 2025-11-24 14:06 ` Christoph Hellwig
2026-03-19 17:19 ` Xose Vazquez Perez
0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2025-11-24 14:06 UTC (permalink / raw)
To: Xose Vazquez Perez
Cc: Ewan D. Milne, Anthony Cheung, Takahiro Yasui, Matthias Rudolph,
James E.J. Bottomley, Martin K. Petersen, SCSI-ML
On Sat, Nov 22, 2025 at 11:16:47PM +0100, Xose Vazquez Perez wrote:
> On 10/4/25 4:54 PM, Xose Vazquez Perez wrote:
>
> Same here, any problem/drawback?
The could be asked the other way around. What serious enough problem
are you trying to fix that warrants bloating the devinfo lists?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scsi: scsi_devinfo: blacklist HPE/DISK-SUBSYSTEM
2025-11-24 14:06 ` Christoph Hellwig
@ 2026-03-19 17:19 ` Xose Vazquez Perez
0 siblings, 0 replies; 4+ messages in thread
From: Xose Vazquez Perez @ 2026-03-19 17:19 UTC (permalink / raw)
To: Christoph Hellwig
Cc: Ewan D. Milne, Anthony Cheung, Takahiro Yasui, Matthias Rudolph,
James E.J. Bottomley, Martin K. Petersen, SCSI-ML, Martin Wilck,
Benjamin Marzinski
On 11/24/25 3:06 PM, Christoph Hellwig wrote:
> On Sat, Nov 22, 2025 at 11:16:47PM +0100, Xose Vazquez Perez wrote:
>> On 10/4/25 4:54 PM, Xose Vazquez Perez wrote:
>>
>> Same here, any problem/drawback?
>
> The could be asked the other way around. What serious enough problem
> are you trying to fix that warrants bloating the devinfo lists?
>
This entry was originally covered when "HP" was used as a prefix, as seen in
(add HP DISK-SUBSYSTEM device, for HP XP arrays)
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5f96f42b76e00e2871033745ff029056cc725c76
However, after (fixup string compare: ... Vendor strings must match exactly)
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b8018b973c7cefa5eb386540130fa47315b8e337
the "HP" entry no longer covers devices reporting as "HPE".
This patch simply restores the intended behavior for the newer "HPE" vendor string.
Thanks.
[ This thread is almost six months old, for reference:
https://lore.kernel.org/linux-scsi/20251004145459.58259-1-xose.vazquez@gmail.com/ ]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-03-19 17:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-04 14:54 [PATCH] scsi: scsi_devinfo: blacklist HPE/DISK-SUBSYSTEM Xose Vazquez Perez
2025-11-22 22:16 ` Xose Vazquez Perez
2025-11-24 14:06 ` Christoph Hellwig
2026-03-19 17:19 ` Xose Vazquez Perez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox