]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - multipath-tools/patches/0018-RHBZ-554596-SUN-6540-config.patch
openvswitch: Add service file for systemd.
[people/amarx/ipfire-3.x.git] / multipath-tools / patches / 0018-RHBZ-554596-SUN-6540-config.patch
1 ---
2 libmultipath/hwtable.c | 16 ++++++++++++++++
3 multipath.conf.defaults | 16 ++++++++++++++++
4 2 files changed, 32 insertions(+)
5
6 Index: multipath-tools/libmultipath/hwtable.c
7 ===================================================================
8 --- multipath-tools.orig/libmultipath/hwtable.c
9 +++ multipath-tools/libmultipath/hwtable.c
10 @@ -959,6 +959,22 @@ static struct hwentry default_hw[] = {
11 .checker_name = RDAC,
12 .prio_name = PRIO_RDAC,
13 },
14 + {
15 + .vendor = "STK",
16 + .product = "FLEXLINE 380",
17 + .bl_product = "Universal Xport",
18 + .getuid = DEFAULT_GETUID,
19 + .features = DEFAULT_FEATURES,
20 + .hwhandler = "1 rdac",
21 + .selector = DEFAULT_SELECTOR,
22 + .pgpolicy = GROUP_BY_PRIO,
23 + .pgfailback = -FAILBACK_IMMEDIATE,
24 + .rr_weight = RR_WEIGHT_NONE,
25 + .no_path_retry = NO_PATH_RETRY_QUEUE,
26 + .minio = DEFAULT_MINIO,
27 + .checker_name = RDAC,
28 + .prio_name = PRIO_RDAC,
29 + },
30 /*
31 * EOL
32 */
33 Index: multipath-tools/multipath.conf.defaults
34 ===================================================================
35 --- multipath-tools.orig/multipath.conf.defaults
36 +++ multipath-tools/multipath.conf.defaults
37 @@ -571,4 +571,20 @@
38 # path_checker rdac
39 # prio rdac
40 # }
41 +# device {
42 +# vendor "STK"
43 +# product "FLEXLINE 380"
44 +# product_blacklist "Universal Xport"
45 +# getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
46 +# features "0"
47 +# hardware_handler "1 rdac"
48 +# path_selector "round-robin 0"
49 +# path_grouping_policy group_by_prio
50 +# failback immediate
51 +# rr_weight uniform
52 +# no_path_retry queue
53 +# rr_min_io 1000
54 +# path_checker rdac
55 +# prio rdac
56 +# }
57 #}