vendor="DGC" and product=".*" is tooooo broad.
Using same product labels as in drivers/scsi/scsi_dh.c

Field-tested with Clariion VNX7500.

Cc: Christophe Varoqui <[email protected]>
Cc: device-mapper development <[email protected]>
Signed-off-by: Xose Vazquez Perez <[email protected]>
---
 libmultipath/hwtable.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 206d1fd..a8dc0de 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -267,8 +267,8 @@ static struct hwentry default_hw[] = {
        },
        {
                /* DGC CLARiiON CX/AX and EMC VNX */
-               .vendor        = "DGC",
-               .product       = ".*",
+               .vendor        = "^DGC",
+               .product       = "^RAID|^DISK|^VRAID",
                .bl_product    = "LUNZ",
                .features      = "1 queue_if_no_path",
                .hwhandler     = "1 emc",
-- 
2.5.5

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to