]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: fill working_disks according to metadata.
authorBlazej Kucman <blazej.kucman@intel.com>
Fri, 17 Jan 2020 14:24:04 +0000 (15:24 +0100)
committerJes Sorensen <jsorensen@fb.com>
Tue, 21 Jan 2020 18:41:14 +0000 (13:41 -0500)
commit1e93d0d15913c3fa6d0de5af3fb5e4e3b3f068da
tree9721d13ef7c4211d40adbb08c6131f5bbdcf9b9a
parent42e641abeb312a91b841f1b1ea73661e4bd5a31c
imsm: fill working_disks according to metadata.

Imsm tracks as "working_disk" each visible drive.
Assemble routine expects that the value will return count
of active member drives recorded in metadata.
As a side effect "--no-degraded" doesn't work correctly for imsm.
Align this field to others.
Added check, if the option --no-degraded is called with --scan.

Signed-off-by: Blazej Kucman <blazej.kucman@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
mdadm.c
super-intel.c