27 Commits

Author SHA1 Message Date
wguanghao
3fd3235da3 Fix race of 'mdadm --add' and 'mdadm --incremental'
(cherry picked from commit 2ae41c9bad4c8908b90fb19763f28c3b50d6ba66)
2023-12-14 21:30:39 +08:00
miaoguanqin
8e6e7ed65a Fix null pointer for incremental in mdadm
(cherry picked from commit ee9e97a6240c1824e3b1f6b5aa0091603d99cadc)
2023-09-13 17:54:37 +08:00
miaoguanqin
3942ea6f21 fix mdmonitor-oneshot.service start failed 2023-06-09 11:05:03 +08:00
tangyuchen
8d14b87ef6 Fix crond cannot find command mdadm
Signed-off-by: tangyuchen <tangyuchen5@huawei.com>
(cherry picked from commit 939888b963d8b8e95ee684bf3e87fa6f42373834)
2023-04-24 19:58:47 +08:00
Zhiqiang Liu
0a8bd878f1 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>
(cherry picked from commit 4538d499772ce4826348077cf0b187db8cb2dac4)
2023-01-06 16:12:04 +08:00
Lixiaokeng
0e6968e384 Fix NULL pointer dereference in validate_geometry_ddf()
(cherry picked from commit e848a7231a422777e71b3b989f3d48fadc4f78fb)
2022-12-16 15:09:21 +08:00
liuzhiqiang
2c1f69f3b1 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>
(cherry picked from commit 966e5868aa01fa416d354f000a549005bc2e462b)
2022-12-08 22:27:52 +08:00
miaoguanqin
0000338e47 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 15:59:58 +08:00
Zhiqiang Liu
057ee283d3 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>
(cherry picked from commit fc24ae7689de308e008801777e1909c8c9b398a4)
2022-11-14 19:21:51 +08:00
wguanghao
511217d4ad upgrade version to 4.2
(cherry picked from commit 41edfb191345668fb267c2b14985e7d60963e776)
2022-11-01 16:28:24 +08:00
wguanghao
aa49e0e895 fix segfault of --monitor -r
(cherry picked from commit 2445ded0d240fa7407cbe0499f8f4eba67a708d6)
2022-06-25 15:53:21 +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