]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: FIX: Remove single map state limitation in getinfo
authorAdam Kwolek <adam.kwolek@intel.com>
Tue, 6 Dec 2011 00:28:04 +0000 (11:28 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 6 Dec 2011 00:28:04 +0000 (11:28 +1100)
commit3f510843b1354538270ffa64a137f2bf6b656001
treea84ebe2a6d95700bd186bf46edbe998f69390b79
parentbf2f00718640b5c5cad3076344d347d885b523f9
imsm: FIX: Remove single map state limitation in getinfo

It can occur that degradation during migration occurs on disks that are not
present in both maps /e.g. degradation on just added disk during OLCE/.
This can cause that maps will be in different states (one will be in degraded
and second in normal state). In such situation getinfo_super_imsm_volume()
will not return migration information.

Remove single state limitation in both maps to allow migration information
retrieving.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super-intel.c