]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: fix up assembly of disks that are not in-sync
authorDan Williams <dan.j.williams@intel.com>
Tue, 12 Aug 2008 09:25:49 +0000 (02:25 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 12 Aug 2008 09:25:49 +0000 (02:25 -0700)
commit9a1608e5d03ad048d4915302f4fa132b8f26f515
treed395615f12323adf5a2abeec279339cb431f13a9
parent6a3e913ee97f23c3a2d0ac9b341ab4e26058f73a
imsm: fix up assembly of disks that are not in-sync

1/ Do not assemble !in_sync or failed devices in container_content.
2/ Prevent activation of failed or configured devices in activate_spare.
3/ Be sure to avoid dirty degraded if the array was shutdown cleanly.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
super-intel.c