multipath-tools: move code up in Makefile
Subsystems (2)
PATCH 10/11 multipath-tools: move code up in Makefile
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
Signed-off-by Xose Vazquez Perez <[email protected]>
--- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
Makefile +6 -6
@@ -16,6 +16,12 @@ ifeq ($(KRNLSRC),) endif endif +ifeq ($(MULTIPATH_VERSION),) + VERSION = $(shell basename ${PWD} | cut -d'-' -f3) +else + VERSION = $(MULTIPATH_VERSION) +endif + export KRNLSRC export KRNLOBJ
@@ -30,12 +36,6 @@ BUILDDIRS = \ mpathpersist \ kpartx -ifeq ($(MULTIPATH_VERSION),) - VERSION = $(shell basename ${PWD} | cut -d'-' -f3) -else - VERSION = $(MULTIPATH_VERSION) -endif - all: recurse recurse:
Signature · 1 line
2.7.4
PATCH 11/11 multipath-tools: modify product regex in HDS devices
regex for product="DF" is tooooo wide.
Also changed for VSP to "^OPEN-"
I asked Matthias before make this change.
Cc Matthias Rudolph <[email protected]>
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(-)
libmultipath/hwtable.c +2 -2
@@ -278,14 +278,14 @@ static struct hwentry default_hw[] = { {/* USP-V, HUS VM, VSP, VSP G1000 and VSP GX00 families */ .vendor = "(HITACHI|HP)", - .product = "OPEN-", + .product = "^OPEN-", .pgpolicy = MULTIBUS, .pgfailback = FAILBACK_UNDEF, }, {/* AMS 2000 and HUS 100 families */ .vendor = "HITACHI", - .product = "DF", + .product = "^DF", .features = "1 queue_if_no_path", .pgpolicy = GROUP_BY_PRIO, .pgfailback = -FAILBACK_IMMEDIATE,
Signature · 1 line
2.7.4