diff options
author | Pawel Piatkowski <pawel.piatkowski@intel.com> | 2023-10-19 16:35:24 +0200 |
---|---|---|
committer | Jes Sorensen <jes@trained-monkey.org> | 2023-10-26 23:51:55 +0200 |
commit | 4dde420fc3e24077ab926f79674eaae1b71de10b (patch) | |
tree | f4430507a06a8f4c7e73078ebc831c6d6092150b /mdadm.h | |
parent | mdadm/super1: Add MD_FEATURE_RAID0_LAYOUT if kernel>=5.4 (diff) | |
download | mdadm-4dde420fc3e24077ab926f79674eaae1b71de10b.tar.xz mdadm-4dde420fc3e24077ab926f79674eaae1b71de10b.zip |
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>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -377,9 +377,6 @@ struct mdinfo { int container_member; /* for assembling external-metatdata arrays * This is to be used internally by metadata * handler only */ - int container_enough; /* flag external handlers can set to - * indicate that subarrays have not enough (-1), - * enough to start (0), or all expected disks (1) */ char sys_name[32]; struct mdinfo *devs; struct mdinfo *next; |