]> git.ipfire.org Git - ipfire-2.x.git/commit
mdadm: Update to version 4.5
authorAdolf Belka <adolf.belka@ipfire.org>
Tue, 13 Jan 2026 12:12:15 +0000 (13:12 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 14 Jan 2026 11:15:54 +0000 (11:15 +0000)
commitaccd192b2839bbd185b230678569da281e4871cd
tree0a95d41a16cabf817da09918df81d1fd311c2db3
parent011ac6572fb2534ef6fe3eab397103e63f0abb66
mdadm: Update to version 4.5

- Update from version 4.4 to 4.5
- No change to rootfile
- From kernel 6.17.x onwards it produces an error message with version 4.4 and suggests
   updating to version 4.5 as async del_gendisk mode will be removed in future. This
   update also ensures we will not see that message in any released IPFire CU. I found it
   in my testing of Arne's 6.18 kernel
- Changelog
    4.5
Features:
    Supports --logical-block-size in --create from Wu Guanghao
    Create array with sync del gendisk mode from Xiao Ni
    Update raid6check man page from Mingye Wang
    Re-enable mdadm --monitor ... for /dev/mdX from Dr. Joachim Schneider
    Use MAILFROM to set sendmail envelope sender address in mdmon from Martin
Wilck
    Don't stop array after creating it during assemble from Xiao Ni
    Use kernel raid headers from Mariusz Tkaczyk
    Allow RAID0 to be created with v0.90 metadata from NeilBrown
    Optimize DDF header search for widely used RAID controllers from lilinzhe
    Persist properties of MD devices after switch_root from Antonio Alvarez Feijoo
    Refactor continue_via_systemd() to make it more readable from Mateusz Kusiak
    Remove --freeze-reshape logic in reshape from Mateusz Kusiak
    Simplify remove logic in Incremental from Mariusz Tkaczyk
Fixes:
    Fix crash with homehost=none in super1 from Martin Wilck
    Moves memory management into Assemble to avoid null pointer dereference
from Xiao Ni
    Wait a while before removing a member in Incremental from Xiao Ni
    Some memleak issues from Wu Guanghao
    Fix memleak in udev from Mariusz Tkaczyk
    Support non-absolute name during monitor scan from QRPp
    Mdcheck fix and improvment from Martin Wilck
    Remove POSIX check for name from Mariusz Tkaczyk
    Enable udev block for Incremental/Assemble to avoid race condition from
Nigel Croxon
    Fix buiding errors from Xiao Ni
    Use standard libc nftw from Xiao Ni
    Allow any valid minor number in md device name from Martin Wilck
    Fix RAID0 to RAID10 migration for imsm array from Blazej Kucman
    Don't set badblock flag when adding a new disk from Wu Guanghao
    Regression tests fix from Xiao Ni
    Fix metadata corruption when managing new imsm array from Junxiao Bi
    Add update_super in ddf to prevent crash when assembling ddf array from
lilinzhe
    Disable legacy option ROM scan on UEFI machines for imsm array from Ross
Lagerwall
    Add sbin path to env PATH to avoid command modprobe can't be found from
Coly Li
    Add xmalloc.h to raid6check.c to fix building error from Xiao Ni
    Do not start reshape before switchroot from Mateusz Kusiak

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/mdadm