multipath-tools: add VIOLIN/CONCERTO ARRAY to hardware table
PATCH 1/1 multipath-tools: add VIOLIN/CONCERTO ARRAY to hardware table
based on documentation provided by manufacturer:
https://drive.google.com/open?id=0B_B6YmEmO7cDQlMzc1BsaUxZRVU
- Red Hat Enterprise Linux 5.x for Concerto 7x00 vendor "VIOLIN"
product "CONCERTO ARRAY"path_grouping_policy group_by_prio getuid_callout "/sbin/scsi_id -p 0x80 -g -u -s /block/%n" prio_callout "/sbin/mpath_prio_alua /dev/%n" path_checker turpath_selector "round-robin 0"hardware_handler "1 alua"
failback immediaterr_weight uniformno_path_retry 300rr_min_io 4
features "1 queue_if_no_path"
- Red Hat Enterprise Linux 6.x for Concerto 7100/7200 vendor "VIOLIN"
product "CONCERTO ARRAY"path_grouping_policy multibusgetuid_callout "/lib/udev/scsi_id -g -u /dev/%n" path_checker turpath_selector "round-robin 0"
prio aluarr_min_io 100rr_weight priorities
failback immediate
features "1 queue_if_no_path"
- Red Hat Enterprise Linux 6.x for Violin 7300 vendor "VIOLIN"
product "CONCERTO ARRAY"path_selector "round-robin 0" path_grouping_policy multibusgetuid_callout "/lib/udev/scsi_id -p 0x80 -g -u /dev/%n" prio aluapath_checker turrr_min_io 100rr_weight priorities
failback immediate
features "1 queue_if_no_path"no_path_retry 300
- Red Hat Enterprise Linux 7.x for Violin 7300 vendor "VIOLIN"
product "CONCERTO ARRAY"path_selector "round-robin 0" path_grouping_policy multibus
prio aluapath_checker turrr_min_io 100rr_weight priorities
failback immediate
features "1 queue_if_no_path"no_path_retry 300
- SUSE Enterprise Linux 11 SP3 for Violin 7300 vendor "VIOLIN"
product "CONCERTO ARRAY"path_selector "round-robin 0" path_grouping_policy multibusgetuid_callout "/lib/udev/scsi_id -p 0x80 -g -u /dev/%n" prio "alua"path_checker "tur"rr_min_io 100rr_weight priorities
failback immediate
features "1 queue_if_no_path"no_path_retry 300
--- libmultipath/hwtable.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
libmultipath/hwtable.c +19 -0
@@ -1176,6 +1176,25 @@ static struct hwentry default_hw[] = { .checker_name = TUR, },/* +* Violin Memory, Inc. +* +* Maintainer : Christophe Varoqui +* Mail : [email protected] +*/ + { + .vendor = "VIOLIN", + .product = "CONCERTO ARRAY", + .selector = "round-robin 0", + .pgpolicy = MULTIBUS, + .prio_name = PRIO_ALUA, + .checker_name = TUR, + .minio = 100, + .rr_weight = priorities, + .pgfailback = -FAILBACK_IMMEDIATE, + .features = "1 queue_if_no_path", + .no_path_retry = 300, + }, + /* * EOL */ {
Signature · 1 line
2.5.5
Quoted 2 lines · Xose Vazquez Perez
based on documentation provided by manufacturer:
https://drive.google.com/open?id=0B_B6YmEmO7cDQlMzc1BsaUxZRVU
Please, DROP this patch. It's buggy.
Quoted 15 lines
libmultipath/hwtable.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)libmultipath/hwtable.c +4
-0@@ -1176,6 +1176,25 @@ static struct hwentry default_hw[] = { .checker_name = TUR, },/* +* Violin Memory, Inc. +* +* Maintainer : Christophe Varoqui +* Mail : [email protected]
libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 1192
Quoted 10 lines
libmultipath/hwtable.c +10
-0+*/ + { + .vendor = "VIOLIN", + .product = "CONCERTO ARRAY", + .selector = "round-robin 0", + .pgpolicy = MULTIBUS, + .prio_name = PRIO_ALUA, + .checker_name = TUR, + .minio = 100, + .rr_weight = priorities,
^^^^^^^^^^^
It should be RR_WEIGHT_PRIO
Quoted 9 lines
libmultipath/hwtable.c +5
-0+ .pgfailback = -FAILBACK_IMMEDIATE, + .features = "1 queue_if_no_path", + .no_path_retry = 300, + }, +/* * EOL */ {