]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Incremental: move suitable spares to container when subarrays started.
authorAnna Czarnowska <anna.czarnowska@intel.com>
Wed, 5 Jan 2011 03:42:27 +0000 (14:42 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 5 Jan 2011 03:42:27 +0000 (14:42 +1100)
commit037e12d6da9959308cf089077202b8b7aedbbc6e
tree1c8f6203cbe63b883686771e3b9d1d766eea374e
parentd52bb542d406071d7be6c180703d981a07eb8aed
Incremental: move suitable spares to container when subarrays started.

By default Incremental places all imsm spares in separate container
with uuid=0:0:0:0. (patch giving spares uuid_zero needed)

When we find enough members to start an array
we are able to determine domain so we search spare container
for suitable spares and move them to the container that
is currently assembled.

Signed-off-by: Anna Czarnowska <anna.czarnowska@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Incremental.c