device-mapper-multipath/0129-multipath-tools-add-DellEMC-PowerStore-to-hardware-t.patch
Benjamin Marzinski b05147c356 device-mapper-multipath-0.8.5-6
Change patch format to remove Git version
  * Patches 0001-0122 only have the patch format modified
Update to the head of the upstream staging branch plus redhat patches
  * Patches 0123-0134 & 1036-0142 are from the upstream staging branch
  * Patches 0143-1046 have been submitted upstream
  * Patch 0156 is a Red Hat only patch. Red Hat udev rules set ID_SERIAL
    from 60-persistent-storage.rules instead of 55-scsi-sg3_id.rules.
    Multipath's parse_vpd_pg83() function needs to match the ID_SERIAL
    value from udev.
Rename files
  * Previous patches 0123-0132 are now patches 1035 & 0147-0155
2021-03-26 13:33:56 -05:00

41 lines
1.3 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Xose Vazquez Perez <xose.vazquez@gmail.com>
Date: Sat, 6 Mar 2021 03:54:15 +0100
Subject: [PATCH] multipath-tools: add DellEMC/PowerStore to hardware table
Info from: https://www.delltechnologies.com/en-us/collaterals/unauth/technical-guides-support-information/products/storage-2/docu5128.pdf
Cc: Martin Wilck <mwilck@suse.com>
Cc: Benjamin Marzinski <bmarzins@redhat.com>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: DM-DEVEL ML <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
Reviewed-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
---
libmultipath/hwtable.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 921aadc5..58fa7387 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -388,6 +388,17 @@ static struct hwentry default_hw[] = {
.product = "^EMC PowerMax_",
.pgpolicy = MULTIBUS,
},
+ {
+ /* PowerStore */
+ .vendor = "DellEMC",
+ .product = "PowerStore",
+ .pgpolicy = GROUP_BY_PRIO,
+ .prio_name = PRIO_ALUA,
+ .hwhandler = "1 alua",
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .no_path_retry = 3,
+ .fast_io_fail = 15,
+ },
/*
* Fujitsu
*/