Commit Graph

242 Commits

Author SHA1 Message Date
Jes Sorensen
c950024ba2 mdadm.h - include sys/sysmacros.h directly to build against F26+ glibc
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2016-08-15 11:35:14 -04:00
Jes Sorensen
c64955485e Add missing patch to git
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2016-08-12 15:19:02 -04:00
Jes Sorensen
6e2d10d9a3 Backport various fixes for mdadm-3.4 from RHEL
Resolves: bz#1303380

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2016-08-12 15:18:59 -04:00
Jes Sorensen
79d2abf1e9 Update mdadm to upstream v3.4
Resolves: bz#1303380

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2016-08-12 13:48:31 -04:00
Xiao Ni
89f3275e06 Fix degraded raid1 array becomes inactive after rebooting
Resolves: bz#1337004

Signed-off-by: Xiao Ni <xni@redhat.com>
2016-05-31 09:43:21 +08:00
Dennis Gilmore
34117320ac - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 05:12:18 +00:00
Jes Sorensen
0a54d98388 Fix race when assembling or stopping IMSM RAID arrays
Resolves: bz#1268955

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2015-10-22 12:31:52 -04:00
Jes Sorensen
48f7551bf7 Upgrade to mdadm-3.3.4
Resolves: bz#1246474

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2015-10-22 12:31:45 -04:00
Dennis Gilmore
a65dee76e1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 19:54:16 +00:00
Jes Sorensen
cb6db4c08b Upgrade to mdadm-3.3.2
Resolves: bz#1132847

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-08-26 19:49:51 +02:00
Peter Robinson
31c96f63e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 09:03:32 +00:00
Jes Sorensen
e6006ccee9 Apply proper fix for bz1125883
Resolves bz1125883

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-08-05 10:06:03 +02:00
Dan Horák
4360983a2c - revert the previous fix, not upstream yet 2014-08-04 10:59:53 +02:00
Dan Horák
a4247a8798 - fix FTBFS on ppc64 (#1125883) 2014-08-04 10:34:24 +02:00
Jes Sorensen
2439aace63 Fix two mdadm bugs
1) Improve error message when trying to use --grow -n<X> on a Linear
   array
2) Allow assembly of explicitly specified arrays, even if they are
   disabled in /etc/mdadm.conf

Resolves: bz#1122146, bz#1124310

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-07-29 10:20:09 +02:00
Jes Sorensen
0e06f1f68a Revert 'change' udev event change from 3.3.1-1.
This needs thorough testing if we are to consider enabling it in
Fedora

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-06-12 16:30:14 +02:00
Jes Sorensen
5901b88a33 Revert "Make mdadm.rules honor 'change' events"
This reverts commit e77c97f845.

Acting on change events has side affects I hadn't taken into
account. While upstream does it per default, this requires more
testing before we do this in Fedora.
2014-06-12 09:04:38 +02:00
Jes Sorensen
e444603605 Update to mdadm-3.3.1
Resolves bz#1105136

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-06-10 15:12:22 +02:00
Jes Sorensen
e77c97f845 Make mdadm.rules honor 'change' events
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-06-10 13:35:15 +02:00
Dennis Gilmore
93bdb09290 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 03:49:46 -05:00
Jes Sorensen
9cfefe3283 Don't depend on syslog.target in mdmonitor.service
Resolves bz#1055202

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-03-14 13:49:28 +01:00
Jes Sorensen
b00ad520fd Revert changes introduced in 3.3-5 - the original code was correct
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-01-31 17:50:06 +01:00
Jes Sorensen
91fc6ba763 Do not create /var/run/mdadm in the rpm, this is created by tmpfiles
Resolves bz#1053176

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-01-30 18:17:21 +01:00
Jes Sorensen
b946c84e0b Fix building on big-endian architectures again
Resolves bz#1015494

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-10-10 09:46:06 +02:00
Jes Sorensen
a73c68d519 Use DM_UDEV_DISABLE_OTHER_RULES_FLAG in rules files
Resolves bz1015514

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-10-09 16:28:38 +02:00
Jes Sorensen
2971b66bcb Require dracut 034-1
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-10-08 15:32:10 +02:00
Jes Sorensen
812436111f Update to mdadm-3.3
Resolves bz977826

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-09-05 15:37:23 +02:00
Jes Sorensen
f7e88a8ef4 Fix problem with first stop command of IMSM raid during reshape
In addition
- Remove Fedora 17 support
- Fix pointless noise from rpm tools over date mismatches

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-08-13 21:29:05 +02:00
Dennis Gilmore
6d157ec6dc - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 04:54:11 -05:00
Jes Sorensen
ec874c830f Fix problem where rebuild of IMSM RAID5 volume started in OROM, does not proceed in OS
Resolves bz956021 (f18), bz956026 (f17), bz956031 (f19)

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-04-24 10:25:43 +02:00
Jes Sorensen
adb522038d Avoid resync progress getting lost during expansion of IMSM metadata RAID1/5
Resolves bz948745

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-04-23 12:31:42 +02:00
Jes Sorensen
2f8071afbc Reorder patches to allow for udev query patch to apply on Fedora 17
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-04-23 08:52:18 +02:00
Jes Sorensen
ae351a031e Rely on rpm macros to place files in correct directories to match /usr move
Resolves bz955248

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-04-22 18:12:58 +02:00
Jes Sorensen
0a98c0ed35 Only run make install-systemd on F18 and higher
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-03-07 16:42:31 +01:00
Jes Sorensen
7da68c88d7 Cleanup .spec file handling of different Fedora versions
Resolves bz914629

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-03-07 15:49:34 +01:00
Jes Sorensen
23c3fb197b Resync with final version of upstream patches for launching mdmon via systemctl.
Resolves bz879327

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-02-05 16:21:25 +01:00
Jes Sorensen
23db92efcc Merge branch 'f18' of ssh://pkgs.fedoraproject.org/mdadm into f18 2013-01-21 14:52:29 +01:00
Jes Sorensen
40b9ebaee0 Add mdmon systemd service files forgotten in the previous commit
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-21 14:51:46 +01:00
Jes Sorensen
b10778ff60 Merge branch 'f18' of ssh://pkgs.fedoraproject.org/mdadm into f18 2013-01-21 14:44:12 +01:00
Jes Sorensen
d467710db7 Merge branch 'master' of ssh://pkgs.fedoraproject.org/mdadm 2013-01-21 14:43:44 +01:00
Jes Sorensen
34d880fc4c Launch mdmon via systemctl to avoid it ending up in the wrong cgroup
Resolves bz879327

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-21 14:42:51 +01:00
Jes Sorensen
352851ee4a Launch mdmon via systemctl to avoid it ending up in the wrong cgroup
Resolves bz879327

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-21 14:36:26 +01:00
Jes Sorensen
d047b34df2 Fix code to make mdmon leave the udev cgroup correctly
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-08 16:35:00 +01:00
Jes Sorensen
4335bd6f0f Add missing changelog entry for 3.2.6-10
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-08 16:32:44 +01:00
Jes Sorensen
157ee38ddb Fix mdmonitor-takeover.service dangling symlink for real this time
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-07 17:50:35 +01:00
Jes Sorensen
fe785fe1f6 Reintroduce fix for dangling systemd symlink for mdmonitor-takeover.service
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-07 10:53:55 +01:00
Jes Sorensen
b1a4d82044 Remove mdmonitor-takeover.service
Resolves bz834245

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-04 16:56:10 +01:00
Jes Sorensen
5e97b2a025 Update version number for this build correctly
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-12-11 16:54:25 +01:00
Jes Sorensen
ca9ac096b5 Fix problem with failed disks in failed RAID volume not being removed
Resolves bz886123

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-12-11 16:50:43 +01:00
Jes Sorensen
6093eddf83 Obsolete mdadm-sysvinit as we no longer support sysvinit booting
Resolves bz#884993

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-12-10 18:39:38 +01:00