mdadm re-add fault/removed disk failed
Resolves: rhbz#2047567 Signed-off-by: Xiao Ni <xni@redhat.com>
This commit is contained in:
parent
bf2a5ebf8b
commit
5d4b4d1c30
38
0001-Revert-mdadm-fix-coredump-of-mdadm-monitor-r.patch
Normal file
38
0001-Revert-mdadm-fix-coredump-of-mdadm-monitor-r.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
From 7e92ef334af165a5e50b33ddff98e18f1c8a18d0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Xiao Ni <xni@redhat.com>
|
||||||
|
Date: Thu, 24 Feb 2022 11:37:34 +0800
|
||||||
|
Subject: [PATCH 1/1] Revert "mdadm: fix coredump of mdadm --monitor -r"
|
||||||
|
|
||||||
|
This reverts commit 546047688e1c64638f462147c755b58119cabdc8.
|
||||||
|
|
||||||
|
This is a rhel ony patch. We have sent patch to upstream. But
|
||||||
|
it hasn't been merged. We will remove this patch once upstream
|
||||||
|
merges our patch.
|
||||||
|
|
||||||
|
Signed-off-by: Xiao Ni <xni@redhat.com>
|
||||||
|
---
|
||||||
|
ReadMe.c | 6 +++---
|
||||||
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/ReadMe.c b/ReadMe.c
|
||||||
|
index 81399765..ee457a54 100644
|
||||||
|
--- a/ReadMe.c
|
||||||
|
+++ b/ReadMe.c
|
||||||
|
@@ -81,11 +81,11 @@ char Version[] = "mdadm - v" VERSION " - " VERS_DATE EXTRAVERSION "\n";
|
||||||
|
* found, it is started.
|
||||||
|
*/
|
||||||
|
|
||||||
|
-char short_options[]="-ABCDEFGIQhVXYWZ:vqbc:i:l:p:m:r:n:x:u:c:d:z:U:N:safRSow1tye:k";
|
||||||
|
+char short_options[]="-ABCDEFGIQhVXYWZ:vqbc:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye:k:";
|
||||||
|
char short_bitmap_options[]=
|
||||||
|
- "-ABCDEFGIQhVXYWZ:vqb:c:i:l:p:m:r:n:x:u:c:d:z:U:N:sarfRSow1tye:k:";
|
||||||
|
+ "-ABCDEFGIQhVXYWZ:vqb:c:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye:k:";
|
||||||
|
char short_bitmap_auto_options[]=
|
||||||
|
- "-ABCDEFGIQhVXYWZ:vqb:c:i:l:p:m:r:n:x:u:c:d:z:U:N:sa:rfRSow1tye:k:";
|
||||||
|
+ "-ABCDEFGIQhVXYWZ:vqb:c:i:l:p:m:n:x:u:c:d:z:U:N:sa:rfRSow1tye:k:";
|
||||||
|
|
||||||
|
struct option long_options[] = {
|
||||||
|
{"manage", 0, 0, ManageOpt},
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
13
mdadm.spec
13
mdadm.spec
@ -1,10 +1,8 @@
|
|||||||
Name: mdadm
|
Name: mdadm
|
||||||
Version: 4.2
|
Version: 4.2
|
||||||
Release: 1%{?dist}
|
# extraversion is used to define rhel internal version
|
||||||
# If Release is not same with subversion, please define extraversion
|
%define extraversion 2
|
||||||
# For example, release is rc3-1, subversion is rc3.
|
Release: %{extraversion}%{?dist}
|
||||||
# extraversion should be rc3-1. This is used in Readme.c
|
|
||||||
%define extraversion 1
|
|
||||||
Summary: The mdadm program controls Linux md devices (software RAID arrays)
|
Summary: The mdadm program controls Linux md devices (software RAID arrays)
|
||||||
URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/
|
URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -21,6 +19,7 @@ Source8: raid-check.service
|
|||||||
|
|
||||||
# Build without -Werror.
|
# Build without -Werror.
|
||||||
Patch00: disable-Werror.patch
|
Patch00: disable-Werror.patch
|
||||||
|
Patch01: 0001-Revert-mdadm-fix-coredump-of-mdadm-monitor-r.patch
|
||||||
|
|
||||||
# Fedora customization patches
|
# Fedora customization patches
|
||||||
Patch97: mdadm-3.3-udev.patch
|
Patch97: mdadm-3.3-udev.patch
|
||||||
@ -94,6 +93,10 @@ install -m644 %{SOURCE6} %{buildroot}/etc/libreport/events.d
|
|||||||
/etc/libreport/events.d/*
|
/etc/libreport/events.d/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 24 2022 Xiao Ni <xni@redhat.com> - 4.2-2
|
||||||
|
- mdadm re-add fault/removed disk failed
|
||||||
|
- Resolves rhbz#2047567
|
||||||
|
|
||||||
* Fri Dec 31 2021 Xiao Ni <xni@redhat.com> - 4.2
|
* Fri Dec 31 2021 Xiao Ni <xni@redhat.com> - 4.2
|
||||||
- Update to upstream 4.2
|
- Update to upstream 4.2
|
||||||
- Resolves rhbz#2026723, rhbz#2026532, rhbz#1995587
|
- Resolves rhbz#2026723, rhbz#2026532, rhbz#1995587
|
||||||
|
Loading…
Reference in New Issue
Block a user