64 Commits

Author SHA1 Message Date
openeuler-ci-bot
5b54b6199b
!212 同步修复在卸载或升级时留下无所有者的目录问题
From: @yanyan11222 
Reviewed-by: @kouwq 
Signed-off-by: @kouwq
2024-11-18 08:14:05 +00:00
yanshuai01
a54fc4f4d0 Avoid unowned %%{python3_sitelib}/lvmdbusd directory 2024-11-14 17:11:28 +08:00
openeuler-ci-bot
26a7a281c7
!206 fix 2 undeclared functions,support clang build
From: @fandeyuan 
Reviewed-by: @kouwq 
Signed-off-by: @kouwq
2024-11-07 09:21:26 +00:00
fandeyuan
d8f90ee1d9 fix function undeclared in libdm-common.c and dev-cache.c,support clang 2024-11-07 15:49:58 +08:00
openeuler-ci-bot
616fe80ba3
!198 fix syslog setting
From: @yanyan11222 
Reviewed-by: @kouwq 
Signed-off-by: @kouwq
2024-11-01 02:22:26 +00:00
yanshuai01
80ce2aa016 fix syslog setting 2024-10-29 19:27:35 +08:00
openeuler-ci-bot
c5cb9c4b42
!190 dmstats: Fix memory leak on error path
From: @yanyan11222 
Reviewed-by: @kouwq 
Signed-off-by: @kouwq
2024-10-24 11:05:43 +00:00
yanshuai01
a38abf6ff0 dmstats: Fix memory leak on error path 2024-10-24 15:19:08 +08:00
openeuler-ci-bot
d4b2ae904d
!168 [20.03 sp4] 回合上游补丁,修复lvm客户端与lvmlockd选取的扇区大小不一致的问题
From: @jinzig 
Reviewed-by: @swf504, @foolstrong 
Signed-off-by: @swf504
2024-07-05 02:34:07 +00:00
jinzhiguang
1eb2404c59 lvmlockd: use 4K sector size when any dev is 4K
Signed-off-by: jinzhiguang <jinzhiguang@kylinos.cn>
2024-06-14 14:08:05 +08:00
openeuler-ci-bot
6be29967f3
!148 [sync] PR-147: vgchange: acquire an exclusive VG lock for refresh
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2024-02-22 12:01:07 +00:00
wangzhiqiang
817359b9f1 vgchange: acquire an exclusive VG lock for refresh
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
(cherry picked from commit e1e03956638b111cc8a9e9430bb798a372a5e765)
2024-02-22 19:44:13 +08:00
openeuler-ci-bot
612e43e20b
!143 [sync] PR-141: fix an double free in the error path from _stats_creat_group
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2023-12-28 12:19:22 +00:00
wuyifeng
0ede329ec9 fix an double free in the error path from _stats_creat_group
Signed-off-by: wuyifeng <wuyifeng10@huawei.com>
(cherry picked from commit 135c93abce8b7f33dac1e3f9928059a2a78a7d03)
2023-12-20 10:01:29 +08:00
openeuler-ci-bot
20850f0c7d
!140 [sync] PR-134: dm-event: release buffer on dm_event_get_version
From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2023-12-19 07:19:45 +00:00
wangzhiqiang
5f3022c5a3 dm-event: release buffer on dm_event_get_version
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
(cherry picked from commit c660aa7ad815b568a7e75939501af1135375ec7a)
2023-12-19 14:29:13 +08:00
openeuler-ci-bot
0882c60967
!124 backport patch from community
From: @wguanghao 
Reviewed-by: @swf504 
Signed-off-by: @swf504
2023-12-04 01:28:10 +00:00
wguanghao
ae95209e0b backport patch from community 2023-11-30 16:26:37 +08:00
openeuler-ci-bot
6916364bdc
!121 [sync] PR-119: fix an issue for the symlink of the by-uuid file lost
From: @openeuler-sync-bot 
Reviewed-by: @wubo009 
Signed-off-by: @wubo009
2023-11-30 07:56:21 +00:00
wangzhiqiang
83d624abd9 fix an issue for the symlink of the by-uuid file lost
Signed-off-by: wangzhiqiang <wangzhiqiang95@huawei.com>
(cherry picked from commit 5c525c8c8b365d69f07ef0885cd072dfd2834f18)
2023-11-14 21:10:48 +08:00
openeuler-ci-bot
164ddc2f8f
!77 md: add support for intel vroc raid
From: @hexiaole1994 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-11-08 13:41:48 +00:00
Xiaole He
189dd63981 md: add support for intel vroc raid
Backport patches for supporting intel vroc raid device.

Commit 23774f997ea077f2cbe8a32bd8bccdd7f4560cca (devices: detect md ddf
and imsm superblocks)
Commit 00c9a788cc617e5e40746dee2e17287d61ee5c81 (devices: simplify md
superblock checking code)
Commit 7880896f0dbe730e7b47aa8040544434813eacc4 (gcc: calc size in
compile time)
Commit 12667e9897ad54f5723463b4c864c8259ba0be2a (fix check for md raid
imsm signature on 4k devices)
Commit 6a099707c433f0b3f2644c52f7773751832693a4 (clang: remove unused
assignment)

Otherwise, create vg on a intel vroc raid will produce below error:

/* command begin */
$ pvcreate /dev/md0
$ vgcreate testvg /dev/md0
Cannot use device /dev/md0 with duplicates.
/* command end */

Signed-off-by: Xiaole He <hexiaole@kylinos.cn>
2022-10-29 16:38:31 +08:00
openeuler-ci-bot
986a963ea3
!72 [sync] PR-71: update changelog time
From: @openeuler-sync-bot 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-10-09 11:56:05 +00:00
linfeilong835
a43bed6cd4 update changlog time
Signed-off-by: linfeilong835 <linfeilong@huawei.com>
(cherry picked from commit b95bee1463b91284e3cb01b43fde031c668c1499)
2022-10-09 17:34:03 +08:00
openeuler-ci-bot
771d1c8650
!58 【轻量级PR】修正changelog中的错误日期
From: @konglidong 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-05-07 08:02:20 +00:00
konglidong
d49abdccbb modify bogus date in %changelog 2022-05-07 15:35:19 +08:00
openeuler-ci-bot
438f810739
!56 [sync] PR-50: lvm2: fix three issues in one pr
Merge pull request !56 from openeuler-sync-bot/sync-pr50-openEuler-20.03-LTS-to-openEuler-20.03-LTS-SP3
2022-01-30 09:20:15 +00:00
Zhiqiang Liu
e1e302b32c 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>
(cherry picked from commit 818c824b2b947a13cfc2ba66aae7fde665aed728)
2022-01-30 16:26:36 +08:00
Zhiqiang Liu
a398a5e4ac 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>
(cherry picked from commit e3c6fd1364353d109af874a81f263b642334aa69)
2022-01-30 16:26:36 +08:00
Zhiqiang Liu
ca5fa3b7b8 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>
(cherry picked from commit dea4fb1f9ce5f5fd44d12274189dcdd67bdf6434)
2022-01-30 16:26:36 +08:00
openeuler-ci-bot
e600ceaf45
!48 lvm2: sync 20.03 LTS branches
Merge pull request !48 from liuzhiqiang/openEuler-20.03-LTS-SP3
2022-01-30 02:33:59 +00:00
Zhiqiang Liu
1119fb9aa2 lvm2: sync 20.03 LTS branches
Fix issues: https://gitee.com/src-openeuler/lvm2/issues/I4SGY3

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-01-30 09:25:46 +08:00
openeuler-ci-bot
17e0f28422 !17 fixed #I24ZQ1
From: @wguanghao
Reviewed-by: @lixiaokeng,@liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2020-11-13 11:27:36 +08:00
wguanghao
88a5007137 Merge branch 'openEuler-20.03-LTS-Next' of https://gitee.com/wguanghao/lvm2 into openEuler-20.03-LTS-Next 2020-11-12 19:17:50 +08:00
wguanghao
8a15b68205 add %{epoch} 2020-11-12 19:17:14 +08:00
wguanghao
f7b382497d add %{epoch} 2020-11-12 19:13:35 +08:00
openeuler-ci-bot
ba66783b0b !16 lvm: yum安装后无法直接使用man 查看帮助手册,更新spec,让主包安装时依赖help包
From: @lixiaokeng
Reviewed-by: @wubo009
Signed-off-by: @liuzhiqiang26
2020-11-10 19:19:19 +08:00
lixiaokeng
00b78cffb2 Set help package as install requires 2020-11-10 16:31:43 +08:00
openeuler-ci-bot
c3d277a046 !14 update lvm2 LTS version to 2.03.09
Merge pull request !14 from wguanghao/develop
2020-08-26 15:56:39 +08:00
zhangyouming
0c00a525c1 remove yaml file 2020-08-26 11:55:43 +08:00
zhangyouming
5c1f572244 update version to 2.03.09 2020-08-26 11:48:22 +08:00
openeuler-ci-bot
30df159ff5 !13 update release for rebuilding
Merge pull request !13 from smileknife/update-release
2020-08-18 21:55:35 +08:00
smileknife
5122c61c3b update release for rebuilding
Signed-off-by: smileknife <jackshan2010@aliyun.com>
2020-08-18 21:07:45 +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
openeuler-ci-bot
c407f8b36d !10 update lvm2 version to 2.03.09
Merge pull request !10 from wguanghao/develop
2020-07-23 10:59:20 +08:00
wangjun196@huawei.com
3760a19cd2 update lvm2 version to 2.03.09-1 2020-07-22 09:26:17 +08:00
openeuler-ci-bot
e38c075dac !8 add yaml file for ci
Merge pull request !8 from liuzhiqiang/master
2020-07-02 17:15:52 +08:00
openeuler-ci-bot
065e98d1f1 !7 当前补丁序号命名不太友好, 修改从0000开始
Merge pull request !7 from Paul.Wu/master
2020-07-02 14:21:41 +08:00
Zhiqiang Liu
09aad61118 add yaml file for ci 2020-07-02 11:55:03 +08:00