Re: [PATCH] scsi: blacklist: add VMware ESXi cdrom - broken tray emulation

From: Martin K. Petersen
Date: Thu Dec 19 2019 - 18:31:27 EST



Michal,

>> Please don't introduce a blist flag to work around deficiencies in the
>> matching interface. I suggest you tweak the matching functions so they
>> handle a NULL vendor string correctly.
>
> I don't think that will work with the interface for dynamically adding
> entries through sysfs.

Please make it work :)

There's nothing conceptually wrong with being able to do:

echo ":Model:Flags" > /proc/scsi/device_info

We keep running into issues where the same device needs to be listed
many times because it gets branded by different vendors.

Brownie points for making all this less clunky. The libata globbing
blacklist works much better, fwiw.

--
Martin K. Petersen Oracle Linux Engineering