Fix race when assembling or stopping IMSM RAID arrays
Resolves: bz#1268955 Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
This commit is contained in:
parent
48f7551bf7
commit
0a54d98388
11
mdadm.rules
11
mdadm.rules
@ -62,15 +62,4 @@ LABEL="dm_change_end"
|
||||
KERNEL=="md*", SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="linux_raid_member", \
|
||||
ACTION=="change", RUN+="/sbin/mdadm -I $env{DEVNAME}"
|
||||
|
||||
# In case the initramfs only started some of the arrays in our container,
|
||||
# run incremental assembly on the container itself. Note: we ran mdadm
|
||||
# on the container in 64-md-raid.rules, and that's how the MD_LEVEL
|
||||
# environment variable is already set. If that disappears from the other
|
||||
# file, we will need to add this line into the middle of the next rule:
|
||||
# IMPORT{program}="/sbin/mdadm -D --export $tempnode", \
|
||||
|
||||
SUBSYSTEM=="block", ACTION=="add|change", KERNEL=="md*", \
|
||||
ENV{MD_LEVEL}=="container", RUN+="/sbin/mdadm -I $env{DEVNAME}"
|
||||
|
||||
|
||||
LABEL="md_end"
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: The mdadm program controls Linux md devices (software RAID arrays)
|
||||
Name: mdadm
|
||||
Version: 3.3.4
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.xz
|
||||
Source1: mdmonitor.init
|
||||
Source2: raid-check
|
||||
@ -102,6 +102,10 @@ rm -rf %{buildroot}
|
||||
/etc/libreport/events.d/*
|
||||
|
||||
%changelog
|
||||
* Mon Oct 5 2015 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.3.4-2
|
||||
- Fix race when assembling or stopping IMSM RAID arrays
|
||||
- Resolves bz1268955
|
||||
|
||||
* Mon Oct 5 2015 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.3.4-1
|
||||
- Upgrade to mdadm-3.3.4
|
||||
- Resolves bz1246474
|
||||
|
Loading…
Reference in New Issue
Block a user