Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
| 2 | From: Xose Vazquez Perez <xose.vazquez@gmail.com> |
| 3 | Date: Wed, 11 Apr 2018 15:14:13 +0200 |
| 4 | Subject: [PATCH] multipath-tools: add RDAC SUN/ArrayStorage to hwtable |
| 5 | |
| 6 | Already in scsi_dh: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/scsi/scsi_dh.c#n70 |
| 7 | |
| 8 | Cc: NetApp RDAC team <ng-eseries-upstream-maintainers@netapp.com> |
| 9 | Cc: Christophe Varoqui <christophe.varoqui@opensvc.com> |
| 10 | Cc: DM ML <dm-devel@redhat.com> |
| 11 | Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com> |
| 12 | Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com> |
| 13 | --- |
| 14 | libmultipath/hwtable.c | 12 ++++++++++++ |
| 15 | 1 file changed, 12 insertions(+) |
| 16 | |
| 17 | diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c |
| 18 | index 88b4700..827e899 100644 |
| 19 | --- a/libmultipath/hwtable.c |
| 20 | +++ b/libmultipath/hwtable.c |
| 21 | @@ -890,6 +890,18 @@ static struct hwentry default_hw[] = { |
| 22 | .no_path_retry = 30, |
| 23 | }, |
| 24 | { |
| 25 | + .vendor = "SUN", |
| 26 | + .product = "ArrayStorage", |
| 27 | + .bl_product = "Universal Xport", |
| 28 | + .pgpolicy = GROUP_BY_PRIO, |
| 29 | + .checker_name = RDAC, |
| 30 | + .features = "2 pg_init_retries 50", |
| 31 | + .hwhandler = "1 rdac", |
| 32 | + .prio_name = PRIO_RDAC, |
| 33 | + .pgfailback = -FAILBACK_IMMEDIATE, |
| 34 | + .no_path_retry = 30, |
| 35 | + }, |
| 36 | + { |
| 37 | /* ZFS Storage Appliances */ |
| 38 | .vendor = "SUN", |
| 39 | .product = "(Sun Storage|ZFS Storage|COMSTAR)", |
| 40 | -- |
| 41 | 2.7.4 |
| 42 | |