]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm: remove container_enough logic
authorPawel Piatkowski <pawel.piatkowski@intel.com>
Thu, 19 Oct 2023 14:35:24 +0000 (16:35 +0200)
committerJes Sorensen <jes@trained-monkey.org>
Thu, 26 Oct 2023 21:51:55 +0000 (17:51 -0400)
commit4dde420fc3e24077ab926f79674eaae1b71de10b
treef4430507a06a8f4c7e73078ebc831c6d6092150b
parent6af520a5b4d91cd0fd32ab6361ff4519505c7f47
mdadm: remove container_enough logic

Arrays without enough disk count will be assembled but not
started.
Now RAIDs will be assembled always (even if they are failed).
RAID devices in all states will be assembled and exposed
to mdstat.
This change affects only IMSM (for ddf it wasn't used,
container_enough was set to true always).
Removed this logic from incremental_container as well with
runstop checking because runstop condition is being verified
in assemble_container_content function.

Signed-off-by: Pawel Piatkowski <pawel.piatkowski@intel.com>
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
Incremental.c
mdadm.h
super-ddf.c
super-intel.c