]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Monitor.c
Monitor: teach spare migration about containers
authorNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 09:58:07 +0000 (20:58 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 09:58:07 +0000 (20:58 +1100)
commit66f5c4b66562cfbe0f0fb65a9bfabb17441ae23e
tree02d7f76f5606894b39a3e40d29372f833ea66f68
parente78dda3bf5ff840b65e85dbd7fc24ec4ccd291a5
Monitor: teach spare migration about containers

When trying to move a spare, move to the container of a degraded
array, not to the array itself.
And don't try to move from a subarray, only from a native or container
array.
And don't move from a container which contains degraded subarrays.

Signed-off-by: NeilBrown <neilb@suse.de>
Monitor.c