75 lines
2.2 KiB
Diff
75 lines
2.2 KiB
Diff
|
---
|
||
|
libmultipath/hwtable.c | 17 ++++++++++++++++-
|
||
|
multipath.conf.defaults | 16 +++++++++++++++-
|
||
|
2 files changed, 31 insertions(+), 2 deletions(-)
|
||
|
|
||
|
Index: multipath-tools/libmultipath/hwtable.c
|
||
|
===================================================================
|
||
|
--- multipath-tools.orig/libmultipath/hwtable.c
|
||
|
+++ multipath-tools/libmultipath/hwtable.c
|
||
|
@@ -224,6 +224,21 @@ static struct hwentry default_hw[] = {
|
||
|
.checker_name = TUR,
|
||
|
.prio_name = DEFAULT_PRIO,
|
||
|
},
|
||
|
+ {
|
||
|
+ .vendor = "HP",
|
||
|
+ .product = "OPEN-.*",
|
||
|
+ .getuid = DEFAULT_GETUID,
|
||
|
+ .features = DEFAULT_FEATURES,
|
||
|
+ .hwhandler = DEFAULT_HWHANDLER,
|
||
|
+ .selector = DEFAULT_SELECTOR,
|
||
|
+ .pgpolicy = MULTIBUS,
|
||
|
+ .pgfailback = FAILBACK_UNDEF,
|
||
|
+ .rr_weight = RR_WEIGHT_NONE,
|
||
|
+ .no_path_retry = 18,
|
||
|
+ .minio = DEFAULT_MINIO,
|
||
|
+ .checker_name = TUR,
|
||
|
+ .prio_name = DEFAULT_PRIO,
|
||
|
+ },
|
||
|
/*
|
||
|
* DDN controller family
|
||
|
*
|
||
|
@@ -325,7 +340,7 @@ static struct hwentry default_hw[] = {
|
||
|
* Mail : matthias.rudolph@hds.com
|
||
|
*/
|
||
|
{
|
||
|
- .vendor = "(HITACHI|HP)",
|
||
|
+ .vendor = "HITACHI",
|
||
|
.product = "OPEN-.*",
|
||
|
.getuid = DEFAULT_GETUID,
|
||
|
.features = DEFAULT_FEATURES,
|
||
|
Index: multipath-tools/multipath.conf.defaults
|
||
|
===================================================================
|
||
|
--- multipath-tools.orig/multipath.conf.defaults
|
||
|
+++ multipath-tools/multipath.conf.defaults
|
||
|
@@ -166,6 +166,20 @@
|
||
|
# prio const
|
||
|
# }
|
||
|
# device {
|
||
|
+# vendor "HP"
|
||
|
+# product "OPEN-.*"
|
||
|
+# getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
|
||
|
+# features "0"
|
||
|
+# hardware_handler "0"
|
||
|
+# path_selector "round-robin 0"
|
||
|
+# path_grouping_policy multibus
|
||
|
+# rr_weight uniform
|
||
|
+# no_path_retry 18
|
||
|
+# rr_min_io 1000
|
||
|
+# path_checker tur
|
||
|
+# prio const
|
||
|
+# }
|
||
|
+# device {
|
||
|
# vendor "DDN"
|
||
|
# product "SAN DataDirector"
|
||
|
# getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
|
||
|
@@ -238,7 +252,7 @@
|
||
|
# prio const
|
||
|
# }
|
||
|
# device {
|
||
|
-# vendor "(HITACHI|HP)"
|
||
|
+# vendor "HITACHI"
|
||
|
# product "OPEN-.*"
|
||
|
# getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
|
||
|
# features "1 queue_if_no_path"
|