50 Commits

Author SHA1 Message Date
chenrenhui
b8f9a15d84 config: check for 0 from read
(cherry picked from commit 232d376cffe309432cacb31ea72f6785ee3ba512)
2025-04-03 17:11:54 +08:00
沈仲伟
edcb47c756 Avoid unowned %%{python3_sitelib}/lvmdbusd directory
(cherry picked from commit 049b1bc07b3948a15069a03ddac2fc2687547545)
2024-11-07 09:38:17 +08:00
yuncang123
fa38e346cb fix function undeclared in libdm-common.c and dev-cache.c,fix date in changelog,support clang 2024-10-25 16:09:50 +08:00
yanshuai01
6a44c0a064 dmstats: Fix memory leak on error path 2024-10-24 17:19:41 +08:00
Kou Wenqi
b9858e307a fix memleaks on list removal
(cherry picked from commit 715ac101c882fde8fa55b2558254ce8cc7f6529b)
2024-08-22 16:26:43 +08:00
wangziliang
14f9853b96 backport upstream patch 2024-06-24 09:06:17 +00:00
yanshuai01
b62da39c75 fix memleak in vgchange
(cherry picked from commit 833473d1ce8082c5934771d937dd29a8531c1e20)
2024-06-06 10:12:03 +08:00
yanshuai01
dbb452875c do not pass empty string in callback 2024-05-07 11:05:29 +08:00
wangzhiqiang
222f7130c9 backport upstream patch
(cherry picked from commit 0bf06dfca1e320b5fd3c09e875fd9fff6a635a5d)
2024-03-21 14:17:30 +08:00
wangzhiqiang
0d93339582 revert version to 2.03.21 2024-02-28 09:45:36 +08:00
peng.zou
e3d0c5c3f1 lvm2-lockd: add suport for ppc64le 2024-01-22 15:03:55 +08:00
wxm
dee4806fb2
lvmlockd: add suport for loongarch64
Signed-off-by: wxm <wangxiaomeng@kylinos.cn>
2024-01-09 01:13:24 +00:00
wangzhiqiang
27798c2461 dm-event: release buffer on dm_event_get_version
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
2023-12-19 10:41:54 +08:00
li weigang
963eac75b4 update to version 2.03.22 2023-11-06 17:25:03 +08:00
EastDong
9341e445b2 Fixed not building .service files when building on RISC-V architecture 2023-09-11 17:57:03 +08:00
wangzhiqiang
da2bb01a04 fix hungtask in dm code
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
2023-09-05 20:20:19 +08:00
wangzhiqiang
b6f7c6ee8c upgrade version to 2.03.21 2023-07-29 10:29:18 +08:00
wangzhiqiang
64475fbd9a fix fail to create lv
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
2023-06-08 20:34:43 +08:00
qiaobaoli
cc60fd0505 remove configure duplicate flag --with-thin
Signed-off-by: qiaobaoli <qiaobaoli1@jd.com>
2023-02-13 13:48:12 +08:00
wangzhiqiang
a266e89b13 upgrade version to 2.03.18 2023-02-09 15:10:56 +08:00
wzx
dbf16db293 Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com>
2022-11-04 15:24:02 +08:00
wguanghao
fb6a5827c6 upgrade version to 2.03.16 2022-10-15 11:36:31 +08:00
miaoguanqin
09aaa835e7 lvm:remove no locking warning 2022-10-11 17:06:35 +08:00
openeuler-ci-bot
6576b24f04
!67 修复pvscan出现的segfault
From: @wguanghao 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-09-05 08:38:51 +00:00
wuguanghao
b4eb3b04ed fix segfault of pvscan --cache 2022-09-04 13:55:02 +08:00
wangpeng
24594a924f
【轻量级PR】修正changelog中的错误日期 2022-05-11 05:41:32 +00:00
wguanghao
f3d1878dce fix error of epoch version 2022-04-27 20:09:44 +08:00
Zhiqiang Liu
84f4c03aab lvm: code reduce cyclomatic complexity
enhance code and reduce cyclomatic complexity

Fix issue: https://gitee.com/src-openeuler/lvm2/issues/I4RZQQ

Signed-off-by:lixiaokeng <lixiaokeng@huawei.com>
Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-01-30 15:15:24 +08:00
Zhiqiang Liu
100c4fb387 dev_name() determine whether the dev->aliases linked list is
empty before obtaining the dev name

If dev->aliases linked list is empty, then directly obtain the str
address of dm_str_list saved in dev_aliases.n, an unknown address
will be returned, which may cause segfault.

So we need to judge whether the dev->aliases linked list is empty before
getting it to avoid returning unknown address.

Fix issue: https://gitee.com/src-openeuler/lvm2/issues/I4RZP9

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-01-30 11:43:11 +08:00
Zhiqiang Liu
0cfb6fa80f lvm2: check DM_NAME before creating symlink in 13-dm-disk.rules
check DM_NAME before creating symlink in 13-dm-disk.rules.

Fix issue: https://gitee.com/src-openeuler/lvm2/issues/I4RZLO

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-01-30 11:29:36 +08:00
wguanghao
4db7f896f6 upgrade to 2.03.14 2021-11-23 14:34:14 +08:00
wguanghao
eccad0524f add device-mapper-event to solve the problem of compilation error 2021-11-08 15:37:01 +08:00
wguanghao
688870712e %check modified to make run-unit-test 2021-07-28 14:58:26 +08:00
wguanghao
1e240c89d6 lvreduce support --yes option 2021-07-28 11:04:03 +08:00
wguanghao
a5cb01722a revert commit of fix VERSION issue when packaging 2021-07-26 11:55:10 +08:00
zhouwenpei
9ee8a63815 remove unnecessary build require. 2021-07-23 16:06:44 +08:00
yangl777
9c228276b8 update lvm2 version to 2.03.11 2021-01-28 11:23:06 +08:00
markeryang
d512270acf backport upstream patches-epoch2 to fix some problems 2020-12-23 11:21:35 +08:00
lixiaokeng
459b2b4940 add make test 2020-11-04 21:06:26 +08:00
wguanghao
5570c4d8ad update master branch device-mapper-version more than LTS branch 2020-08-06 14:38:06 +08:00
wguanghao
60bed57d6c update device-mapper-version to 1.02.151 2020-07-24 11:50:35 +08:00
wangjun196@huawei.com
3760a19cd2 update lvm2 version to 2.03.09-1 2020-07-22 09:26:17 +08:00
Wu Bo
6a722a9a0c rebuild package 2020-07-02 10:41:52 +08:00
hy
2f0ac3e88a add the gdb buildrequire in lvm2.spec.
the building requires the gdb
2020-03-20 15:07:47 +08:00
wangjufeng
455cf10856 backport patch to fix heap memory leak 2020-03-11 16:16:53 +08:00
eulerstorage
831e2abea9 Fix VERSION issue when packaging
Signed-off-by: eulerstorage <eulerstorage@huawei.com>
2020-01-15 04:44:54 +08:00
eulerstorage
28876fc2ad sync bugfix 2019-12-29 15:13:59 +08:00
dogsheng
61b9625884 Package init 2019-12-25 15:57:36 +08:00
dogsheng
1cca812e1e Package init 2019-12-13 15:46:32 +08:00
overweight
982b051619 Package init 2019-09-30 11:03:04 -04:00