[dm-devel] [PATCH] multipath-tools: add RDAC SUN/ArrayStorage to hwtable

Xose Vazquez Perez xose.vazquez at gmail.com
Wed Apr 11 13:14:13 UTC 2018


Already in scsi_dh: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/scsi/scsi_dh.c#n70

Cc: NetApp RDAC team <ng-eseries-upstream-maintainers at netapp.com>
Cc: Christophe Varoqui <christophe.varoqui at opensvc.com>
Cc: DM ML <dm-devel at redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez at gmail.com>
---
 libmultipath/hwtable.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 88b4700..827e899 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -889,6 +889,18 @@ static struct hwentry default_hw[] = {
 		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.no_path_retry = 30,
 	},
+	{
+		.vendor        = "SUN",
+		.product       = "ArrayStorage",
+		.bl_product    = "Universal Xport",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.checker_name  = RDAC,
+		.features      = "2 pg_init_retries 50",
+		.hwhandler     = "1 rdac",
+		.prio_name     = PRIO_RDAC,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.no_path_retry = 30,
+	},
 	{
 		/* ZFS Storage Appliances */
 		.vendor        = "SUN",
-- 
2.17.0




More information about the dm-devel mailing list