[PATCH 3/9] multipath-tools: reduce regex for DGC CLARiiON CX/AX and EMC VNX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <christophe.varoqui@xxxxxxxxxxx>
Cc: device-mapper development <dm-devel@xxxxxxxxxx>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@xxxxxxxxx>
---
 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
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux