Kou Wenqi
09e7eb51d9
multipath: return failure on an invalid remove command
...
When "multipath -f" is run on a device that doesn't exist or isn't a
multipath device, the command will not remove any device, but it will
still return success. Multiple functions rely on _dm_flush_map()
returning success when called with name that doesn't match any
multipath device. So before calling _dm_flush_map(), call dm_is_mpath(),
to check if the device exists and is a multipath device, and return
failure if it's not.
2024-08-07 14:58:26 +08:00
openeuler-ci-bot
a34bac7479
!196 multipath: display the correct configuration when dumpping config
...
From: @kouwq
Reviewed-by: @swf504
Signed-off-by: @swf504
2024-08-07 02:27:20 +00:00
Kou Wenqi
36af32b57a
multipath: display the correct configuration when dumpping config
...
"multipath -t" and "multipath -T" might show the wrong
multipathd configuration items "retrigger_tries" and
"force_sync". Make sure they don't.
2024-08-05 14:38:23 +08:00
openeuler-ci-bot
594df14739
!189 multipath.conf.5: fix the description of prio_args for path_latency prio
...
From: @kouwq
Reviewed-by: @swf504
Signed-off-by: @swf504
2024-08-05 02:10:16 +00:00
Kou Wenqi
b51f7c507e
multipath.conf.5: fix the description of prio_args for path_latency prio
...
This aligns the description of prio_args for path_latency prio and
the actual code.
2024-08-02 10:06:01 +08:00
openeuler-ci-bot
b2aab4864c
!182 multipath.conf.5: fix documentation for find_multipaths
...
From: @kouwq
Reviewed-by: @swf504
Signed-off-by: @swf504
2024-08-01 03:32:27 +00:00
Kou Wenqi
8b70da26f4
multipath.conf.5: fix documentation for find_multipaths
2024-07-05 11:00:17 +08:00
openeuler-ci-bot
930dc6f436
!172 libmultipath: sysfs_set_scsi_tmo: do nothing for ACT_DRY_RUN
...
From: @kouwq
Reviewed-by: @swf504
Signed-off-by: @swf504
2024-06-18 08:08:05 +00:00
kouwenqi
0e2b23ec08
libmultipath: sysfs_set_scsi_tmo: do nothing for ACT_DRY_RUN
...
"multipath -d" might change sysfs timeouts of SCSI devices.
Make sure it doesn't.
2024-06-05 11:28:29 +08:00
openeuler-ci-bot
6dcbdb6201
!166 回合补丁,修复multipath空配置项导致服务启动失败的问题
...
From: @jinzig
Reviewed-by: @swf504
Signed-off-by: @swf504
2024-06-04 11:41:53 +00:00
jinzhiguang
7c750e20f5
fix multipathd service coredump caused by empty item in multipath.conf
...
Signed-off-by: jinzhiguang <jinzhiguang@kylinos.cn>
2024-05-30 13:39:40 +08:00
openeuler-ci-bot
0baf9bac66
!167 [sync] PR-164: multipathd.socket: add missing conditions from service unit
...
From: @openeuler-sync-bot
Reviewed-by: @swf504
Signed-off-by: @swf504
2024-05-29 08:50:40 +00:00
kouwenqi
2e9ae88e5f
multipathd.socket: add missing conditions from service unit
...
This aligns 'multipathd' socket and service units, by adding the
start conditions that are set on the service but not on the socket.
It should help avoiding situations where the socket unit ends up
marked as failed after hitting its retry-limit.
(cherry picked from commit 63b01c22086a11eee8eaa388232834ceb6231182)
2024-05-29 16:28:36 +08:00
openeuler-ci-bot
fd166be533
!153 [sync] PR-151: fix multipath -u not recognize multipath devices
...
From: @openeuler-sync-bot
Reviewed-by: @swf504
Signed-off-by: @swf504
2024-01-03 08:16:17 +00:00
wangzhiqiang
a7876acebd
fix multipath -u not recognize multipath devices
...
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
(cherry picked from commit a1a4a940e6a7513d43ef793b18eecca7cf415c2a)
2024-01-03 15:14:24 +08:00
openeuler-ci-bot
d7a947c151
!136 fix build error
...
From: @wguanghao
Reviewed-by: @Zht-Try, @swf504
Signed-off-by: @swf504
2023-11-29 04:18:29 +00:00
wguanghao
eba6cf4acc
fix build error
2023-11-28 19:29:17 +08:00
openeuler-ci-bot
f4e568e484
!130 [sync] PR-129: fix CVE-2022-41974 cause mpathperist and multipathd execute error
...
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2022-11-29 08:38:28 +00:00
gqmiao
d055dee615
CVE-2022-41973 modify the parameter sequence of mpathpersist
...
and multipathd. It may cause command multipathd and mpathpersist
execute error
(cherry picked from commit e428a15377c01c319602eb72064a7717e1bdc0a9)
2022-11-29 16:11:33 +08:00
openeuler-ci-bot
eb7cf96c86
!123 [sync] PR-120: fix CVE-2022-41974
...
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2022-11-07 03:51:42 +00:00
wguanghao
7e63cc5f2c
fix CVE-2022-41974
...
(cherry picked from commit 16357edcbfd246f7851a34acaf24bce984e9a0cd)
2022-11-07 11:24:55 +08:00
openeuler-ci-bot
b5cb7b3057
!119 [sync] PR-118: use /run instead /dev/shm to fix CVE-2022-41973
...
From: @openeuler-sync-bot
Reviewed-by: @wubo009
Signed-off-by: @wubo009
2022-11-02 06:40:28 +00:00
Weifeng Su
ac98571163
use /run instead /dev/shm to fix CVE-2022-41973
...
Signed-off-by: Weifeng Su <suweifeng1@huawei.com>
(cherry picked from commit d0b9ef48f97f8634c8a1842c539ec444d2a2f033)
2022-11-02 11:54:16 +08:00
openeuler-ci-bot
4fc74dec84
!112 [sync] PR-111: multipath fix exit status of multipath -T
...
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2022-10-19 07:46:21 +00:00
xueyamao
232daafcdd
multipath fix exit status of multipath -T
...
We must set the return value in configure().
Signed-off-by: xueyamao <xueyamao@kylinos.cn>
(cherry picked from commit 5c008f3bf92a0ef37aa2a8a075346976965ab4c7)
2022-10-18 21:41:36 +08:00
openeuler-ci-bot
91163d0856
!99 [sync] PR-96: 修复长稳测试测出的coredump问题和内存泄露问题
...
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2022-04-08 06:35:21 +00:00
Lixiaokeng
ba65a51864
fix coredump and memory leak in long-term stability test
...
(cherry picked from commit 28aa54fd3d7e08c448d00f91aa809468e3f78e43)
2022-04-08 14:22:38 +08:00
openeuler-ci-bot
d979e09c29
!93 [sync] PR-87: 当使能remove_local_path时,不在nvme设备上创建dm设备。
...
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2022-03-08 13:38:42 +00:00
Lixiaokeng
4b64313446
don't create local nvme multipath device when enable remove_local_path
...
(cherry picked from commit b4d3bfa75088df78bd80325a42a75f3773dd8a88)
2022-03-08 20:03:03 +08:00
openeuler-ci-bot
a9799bec7b
!84 [sync] PR-80: 在load多路径设备时,将pending状态的路径作为active路径处理,防止多路径设备被标记为unready
...
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-11-26 07:53:06 +00:00
Lixiaokeng
4a4414b83f
count pending path as actvie on loads
...
(cherry picked from commit a5d5f8502195cff98a82b318bed7be1edb5ef6be)
2021-11-26 10:40:35 +08:00
openeuler-ci-bot
b58d3c0c6b
!71 [sync] PR-68: 给make test添加root权限
...
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-09-23 10:57:21 +00:00
lixiaokeng
59119b9745
add needsrootforbuild for make test
...
(cherry picked from commit d10b42e62bcaf628067792d789f2fdcfa7bc6c28)
2021-09-23 18:46:04 +08:00
openeuler-ci-bot
19778dc564
!67 [sync] PR-65: 修复testcode 编译告警
...
From: @openeuler-sync-bot
Reviewed-by: @wubo009
Signed-off-by: @lixiaokeng,@wubo009
2021-09-16 09:14:36 +00:00
lixiaokeng
bf9fbec130
fix testcode compile error
...
(cherry picked from commit 6e80019d94a1607fd30119dbf75006956bc2813e)
2021-08-13 09:22:03 +08:00
openeuler-ci-bot
0e1cee66cf
!62 [sync] PR-60: add make test
...
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-08-12 13:38:51 +00:00
lixiaokeng
35ac723976
add make test
...
(cherry picked from commit 6c1605139f83c95051627e0bc796de90ebb502ce)
2021-08-12 14:21:19 +08:00
openeuler-ci-bot
a97a246a30
!54 [sync] PR-51: 同步release号
...
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-08-05 04:17:16 +00:00
lixiaokeng
40156746eb
modify and sync release
...
(cherry picked from commit 8b293fae6d9903cdeeb5f22306a12a4ed3cd1775)
2021-08-05 12:08:55 +08:00
openeuler-ci-bot
12b0ace9f6
!48 [sync] PR-47: add check remove_local_disk before transport in pathinfo
...
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-07-21 01:56:07 +00:00
lixiaokeng
4b16fc9c79
add check remove_local_disk before transport in pathinfo
...
(cherry picked from commit 77f7cf0d51277e7c62daf01ac13fb4d10db6ef4c)
2021-07-20 20:58:26 +08:00
openeuler-ci-bot
55d26bc15d
!41 multipath-tools:将help包添加到kpartx的安装依赖中
...
From: @lixiaokeng
Reviewed-by: @markeryang,@liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2020-12-14 22:03:04 +08:00
lixiaokeng
03ee1b56e4
kpartx: set help package as install requires
...
set help package as install requires
2020-12-14 15:34:04 +08:00
openeuler-ci-bot
cef2511360
!35 set help package as multipath-tools package's install require
...
From: @wang--ge
Reviewed-by: @hht8,@lixiaokeng,@liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2020-11-09 15:27:29 +08:00
wang--ge
8521b0066d
set help package as multipath-tools package's install require
2020-11-07 17:41:05 +08:00
openeuler-ci-bot
42d7567f71
!30 删除版本中已经修复的补丁
...
From: @lixiaokeng
Reviewed-by: @lihaotian9,@wubo009
Signed-off-by: @liuzhiqiang26
2020-10-27 16:06:46 +08:00
lixiaokeng
6504ff0aef
remove patch that has been fixed in 0.8.4
2020-10-27 15:06:42 +08:00
openeuler-ci-bot
5a25967809
!25 fix TRUE deleted 造成的编译问题
...
From: @lixiaokeng
Reviewed-by: @wguanghao,@wubo009
Signed-off-by: @wubo009
2020-10-15 15:08:01 +08:00
lixiaokeng
6453209677
fix boolean value for TRUE deleted
2020-10-15 14:44:21 +08:00
openeuler-ci-bot
9e2654e4db
!18 fix use after free in select_pgfailback
...
Merge pull request !18 from lixiaokeng/openEuler-20.03-LTS
2020-09-03 11:56:20 +08:00