]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - pkgs/multipath-tools/patches/0003-for-upstream-default-configs.patch
fdd6347d1f86325e50f60ebd7d1ebe4c20a77a11
[people/amarx/ipfire-3.x.git] / pkgs / multipath-tools / patches / 0003-for-upstream-default-configs.patch
1 Index: multipath-tools/libmultipath/hwtable.c
2 ===================================================================
3 --- multipath-tools.orig/libmultipath/hwtable.c
4 +++ multipath-tools/libmultipath/hwtable.c
5 @@ -425,6 +425,21 @@ static struct hwentry default_hw[] = {
6 .prio_name = PRIO_RDAC,
7 },
8 {
9 + .vendor = "IBM",
10 + .product = "1745|1746",
11 + .getuid = DEFAULT_GETUID,
12 + .features = "2 pg_init_retries 50",
13 + .hwhandler = "1 rdac",
14 + .selector = DEFAULT_SELECTOR,
15 + .pgpolicy = GROUP_BY_PRIO,
16 + .pgfailback = -FAILBACK_IMMEDIATE,
17 + .rr_weight = RR_WEIGHT_NONE,
18 + .no_path_retry = 15,
19 + .minio = DEFAULT_MINIO,
20 + .checker_name = RDAC,
21 + .prio_name = PRIO_RDAC,
22 + },
23 + {
24 /* IBM DS4700 */
25 .vendor = "IBM",
26 .product = "1814",
27 @@ -661,12 +676,13 @@ static struct hwentry default_hw[] = {
28 .vendor = "DELL",
29 .product = "MD3000",
30 .getuid = DEFAULT_GETUID,
31 - .features = "1 queue_if_no_path",
32 + .features = "2 pg_init_retries 50",
33 .hwhandler = "1 rdac",
34 .selector = DEFAULT_SELECTOR,
35 .pgpolicy = GROUP_BY_PRIO,
36 .pgfailback = -FAILBACK_IMMEDIATE,
37 .rr_weight = RR_WEIGHT_NONE,
38 + .no_path_retry = 15,
39 .minio = DEFAULT_MINIO,
40 .checker_name = RDAC,
41 .prio_name = PRIO_RDAC,
42 @@ -676,12 +692,13 @@ static struct hwentry default_hw[] = {
43 .vendor = "DELL",
44 .product = "MD3000i",
45 .getuid = DEFAULT_GETUID,
46 - .features = "1 queue_if_no_path",
47 + .features = "2 pg_init_retries 50",
48 .hwhandler = "1 rdac",
49 .selector = DEFAULT_SELECTOR,
50 .pgpolicy = GROUP_BY_PRIO,
51 .pgfailback = -FAILBACK_IMMEDIATE,
52 .rr_weight = RR_WEIGHT_NONE,
53 + .no_path_retry = 15,
54 .minio = DEFAULT_MINIO,
55 .checker_name = RDAC,
56 .prio_name = PRIO_RDAC,