Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Xiao Ni
8e12c0fe9b Don't submit stop ioctl in assemble
The kernel commit 9e59d609763f ('md: call del_gendisk in control path')
breaks mdadm --assemble command. mdadm pr
https://github.com/md-raid-utilities/mdadm/pull/182 fixes this problem.

Resolves: bz#2388480

Signed-off-by: Xiao Ni <xni@redhat.com>
2025-08-14 08:00:13 -04:00
Fedora Release Engineering
bcbad9cf97 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 21:29:05 +00:00
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- a/Assemble.c~ 2025-08-13 22:05:00.416132027 -0400
+++ b/Assemble.c 2025-08-13 22:13:16.650837070 -0400
@@ -1597,8 +1597,6 @@
goto try_again;
goto out;
}
- /* just incase it was started but has no content */
- ioctl(mdfd, STOP_ARRAY, NULL);
}
if (content != &info) {

View file

@ -2,7 +2,7 @@
Name: mdadm
Version: 4.3
Release: 7%{?dist}
Release: 9%{?dist}
Summary: The mdadm program controls Linux md devices (software RAID arrays)
URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/
License: GPL-2.0-or-later
@ -26,6 +26,7 @@ Source11: https://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git/plain/keys/6
# this is a reversion of the initial 'posix check' patch
# that causes all the trouble
Patch: 0001-Revert-mdadm-Follow-POSIX-Portable-Character-Set.patch
Patch: 0002-dont-stop-in-assemble.patch
# Fedora customization patches
Patch: mdadm-udev.patch
@ -132,6 +133,13 @@ install -Dm644 raid6check.man %{buildroot}/%{_mandir}/man8/raid6check.man
%changelog
* Thu Aug 14 2025 Xiao Ni <xni@redhat.com> - 4.3-9
- Don't submit stop ioctl in assemble
- Resolves bz#2388480
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Apr 06 2025 Adam Williamson <awilliam@redhat.com> - 4.3-7
- revert 'posix' name check to fix rhbz#2325906