]> git.ipfire.org Git - thirdparty/mdadm.git/commit
ddf: set Rebuilding flag when adding devices to a degraded array
authorNeilBrown <neilb@suse.de>
Tue, 15 Mar 2011 03:57:46 +0000 (14:57 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 15 Mar 2011 03:57:46 +0000 (14:57 +1100)
commit8401644c3a8b2a15bfed25cedc3c4ec0beff07c2
tree3bb187ac30b1bf674e81dbf480f6840988b7f3be
parente5cc7d469f09faa2f6666d61b7c719136e959d09
ddf: set Rebuilding flag when adding devices to a degraded array

This is a big fragile, but DDF has wierd rules that we aren't really
set up to handle properly.

When we add a device to a degraded array it must be a spare, so
mark it as Rebuilding.

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