[PATCH] scsi: devinfo: Add BLIST_NO_RSOC for Promise VTrak E310f

Alexander Perlis posted 1 patch 1 month ago
drivers/scsi/scsi_devinfo.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] scsi: devinfo: Add BLIST_NO_RSOC for Promise VTrak E310f
Posted by Alexander Perlis 1 month ago
The extremely slow boots reported July 2014 in
  [Bug 79901](https://bugzilla.kernel.org/show_bug.cgi?id=79901)
for Promise VTrak E610f 3U 16-bay FC RAID enclosure occur also with
the Promise VTrak E310f 2U 12-bay FC RAID enclosure. The 2014
  [patch](https://bugzilla.kernel.org/attachment.cgi?id=144101&action=diff)
added support for the BLIST_NO_RSOC flag and specified that flag for the
Promise VTrak E610f. This current patch simply adds the E310f to that same
list. (My workaround has been to include
  scsi_mod.dev_flags=Promise:\"VTrak E310f\":0x20000040
among my kernel boot parameters.)

One curiosity is the additional BLIST_SPARSELUN flag. This was also in
the 2014 patch for the E610f, and was already in place for *all* Promise
devices since 2007 due to commit
  e0b2e597d5dd ("[SCSI] stex: fix id mapping issue")
which added the line
  {"Promise", "", NULL, BLIST_SPARSELUN}
The 2007 commit message talks of issues with SuperTrak EX (stex) but
the added line did not limit itself to that particular device family.
The current patch for E310F, like the 2014 patch for E610f, adds
BLIST_NO_RSOC while preserving BLIST_SPARSELUN from 2007.

Signed-off-by: Alexander Perlis <aperlis@math.lsu.edu>
Suggested-by: Nikkos Svoboda <nsvoboda@math.lsu.edu>
---
 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 68a992494b12..c6defe1c3152 100644
--- a/drivers/scsi/scsi_devinfo.c
+++ b/drivers/scsi/scsi_devinfo.c
@@ -218,6 +218,7 @@ static struct {
 	{"PIONEER", "CD-ROM DRM-602X", NULL, BLIST_FORCELUN | BLIST_SINGLELUN},
 	{"PIONEER", "CD-ROM DRM-604X", NULL, BLIST_FORCELUN | BLIST_SINGLELUN},
 	{"PIONEER", "CD-ROM DRM-624X", NULL, BLIST_FORCELUN | BLIST_SINGLELUN},
+	{"Promise", "VTrak E310f", NULL, BLIST_SPARSELUN | BLIST_NO_RSOC},
 	{"Promise", "VTrak E610f", NULL, BLIST_SPARSELUN | BLIST_NO_RSOC},
 	{"Promise", "", NULL, BLIST_SPARSELUN},
 	{"QEMU", "QEMU CD-ROM", NULL, BLIST_SKIP_VPD_PAGES},
-- 
2.43.0
Re: [PATCH] scsi: devinfo: Add BLIST_NO_RSOC for Promise VTrak E310f
Posted by Martin K. Petersen 2 weeks, 6 days ago
On Tue, 12 May 2026 18:12:54 -0500, Alexander Perlis wrote:

> The extremely slow boots reported July 2014 in
>   [Bug 79901](https://bugzilla.kernel.org/show_bug.cgi?id=79901)
> for Promise VTrak E610f 3U 16-bay FC RAID enclosure occur also with
> the Promise VTrak E310f 2U 12-bay FC RAID enclosure. The 2014
>   [patch](https://bugzilla.kernel.org/attachment.cgi?id=144101&action=diff)
> added support for the BLIST_NO_RSOC flag and specified that flag for the
> Promise VTrak E610f. This current patch simply adds the E310f to that same
> list. (My workaround has been to include
>   scsi_mod.dev_flags=Promise:\"VTrak E310f\":0x20000040
> among my kernel boot parameters.)
> 
> [...]

Applied to 7.1/scsi-fixes, thanks!

[1/1] scsi: devinfo: Add BLIST_NO_RSOC for Promise VTrak E310f
      https://git.kernel.org/mkp/scsi/c/adda8a44e1e4

-- 
Martin K. Petersen