36 Commits

Author SHA1 Message Date
wguanghao
cb571e32c4 super1 clear extra flags when initializing metadata 2025-03-18 03:42:52 +00:00
wguanghao
05683c3344 backport bugfix patches from community
(cherry picked from commit 5e64661903efecb13c88e237cd18fae03cf7859d)
2024-08-26 17:13:58 +08:00
wguanghao
ab10bf8132 mdmonitor.service: add conditional judgment to avoid service startup failed
(cherry picked from commit 849ed9be1d793401883b8856c314818b65f7a53c)
2024-07-18 09:31:59 +08:00
wguanghao
2385da763d Manage: fix check after dereference issue
(cherry picked from commit 7b6e068b9bce92dc629ffe316c6a072f7506e3cb)
2024-06-26 15:28:07 +08:00
zhangyaqi
c542d7105a Fix memory leak in file mdadm
(cherry picked from commit 0b5ef9b3d53cba9c62b5ddc96506b362bf96f47c)
2024-06-11 10:40:48 +08:00
fandeyuan
9189b2ce95 mdmon: fix segfault
(cherry picked from commit 620dff3c08f1a72b97536beb0b29e4fc7c1f9a37)
2024-06-05 19:43:21 +08:00
fandeyuan
6efe0290e4 Mdmonitor: Fix segfault 2024-05-08 17:05:57 +08:00
liuh
5a7e659b16 mdadm: Fix double free 2024-04-18 14:31:12 +08:00
wguanghao
66e2fb870e Fix race of 'mdadm --add' and 'mdadm --incremental' 2023-12-19 20:32:48 +08:00
wguanghao
5d15a7ad83 fix RAID0 becoming unusable after setting fault of member disks 2023-11-07 11:25:16 +08:00
miaoguanqin
ee9e97a624 Fix null pointer for incremental in mdadm 2023-09-13 15:26:41 +08:00
miaoguanqin
70f0e6deaf fix mdmonitor-oneshot.service start failed
(cherry picked from commit 3942ea6f2160fca6e0683146fed2390c45eabbf1)
2023-06-09 11:56:03 +08:00
tangyuchen
939888b963 Fix crond cannot find command mdadm
Signed-off-by: tangyuchen <tangyuchen5@huawei.com>
2023-04-24 09:58:45 +08:00
Zhiqiang Liu
4538d49977 mdadm:fix NULL dereferenceinsuper_by_fd
Fix issue: https://gitee.com/src-openeuler/mdadm/issues/I68G5I?from=project-issue

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2023-01-06 15:28:08 +08:00
Lixiaokeng
e848a7231a Fix NULL pointer dereference in validate_geometry_ddf() 2022-12-16 14:37:27 +08:00
liuzhiqiang
966e5868aa backport two bugfix patches
fix issue:https://gitee.com/src-openeuler/mdadm/issues/I62L1B?from=project-issue

Signed-off-by: liuzhiqiang <lzhq28@mail.ustc.edu.cn>
2022-12-08 14:29:30 +08:00
miaoguanqin
731b5f3a90 mdcheck_start.service mdcheck_continue.service will
execute error, because the path of ExecStart
/usr/share/mdadm/mdcheck is not exist. We change
this path to /usr/sbin/mdcheck, so service will be
execute correctly.

(cherry picked from commit 5f5ca23c137d06ec3ef5d0c8e69f7c5d69049828)
2022-12-05 16:00:05 +08:00
Zhiqiang Liu
fc24ae7689 mdadm: backport one patch to fix segfault problem in monitor.c
fix issue:https://gitee.com/src-openeuler/mdadm/issues/I611EL

backport upstream bugfix patch to fix segfault problem

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-11-14 15:40:10 +08:00
wguanghao
41edfb1913 upgrade version to 4.2 2022-10-16 04:47:56 +08:00
wguanghao
2445ded0d2 fix segfault of --monitor -r 2022-06-25 15:02:37 +08:00
lixiaokeng
e89d26a6ff add make test 2020-11-04 21:12:34 +08:00
wguanghao
543ff3d3a4 Merge branch 'develop' of https://gitee.com/wguanghao/mdadm into develop 2020-09-24 09:54:53 +08:00
wguanghao
1c3da2faa8 fix mdmonitor.service start failed 2020-09-24 09:39:09 +08:00
ZhiqiangLiu
d9f91ec4e1 mdadm: backport upstream patches
mdadm: backport upstream patches

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2020-07-13 00:06:02 +08:00
ZhiqiangLiu
4d5dff2a00 mdadm: remove useless readme files
mdadm: remove useless readme files

Signed-off-by: Zhiqiang Liu <lzhq28@mail.ustc.edu.cn>
2020-07-05 11:24:35 +08:00
wuguanghao
73d06b9cd2 restore version to 4.1-1 2020-07-01 10:28:35 +08:00
wuguanghao
d6f1d5ebcf renumber patches 2020-07-01 10:10:37 +08:00
wuguanghao
2046d9805c update mdadm version to 4.1-1 2020-06-30 12:18:53 +08:00
Zhiqiang Liu
0c2f4fd8eb mdadm: renumber patches
patches number counts from 6000. We renumber patches from 0.

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2020-06-29 22:06:27 +08:00
Zhiqiang Liu
5d89d329bd mdadm: remove -Werror to fix [-Werror=address-of-packed-member] problem
gcc reports [-Werror=address-of-packed-member] error when building
mdadm package. Here, we remove -Werror to fix
[-Werror=address-of-packed-member] problem.

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2020-06-29 21:39:32 +08:00
eulerstorage
e28e1c684b add a configuration file in /usr/lib/tmpfiles.d for creating the /run/mdadm directory during the boot process 2020-03-09 18:11:31 +08:00
hy
364187d9b7 update mdadm.spec. 2020-03-03 15:45:58 +08:00
eulerstorage
14e51c4a00 add the --syslog option while executing mdadm --scan command in mdmonitor.service 2020-01-19 17:48:41 +08:00
eulerstorage
2295c6eb35 add the --syslog option while executing mdadm --scan command in mdmonitor.service 2020-01-19 15:49:01 +08:00
eulerstorage
c103a05541 Repackage 2020-01-11 15:03:43 +08:00
eulerstorage
a8ec19ae0b Package init 2019-12-31 22:19:03 +08:00