]> git.ipfire.org Git - thirdparty/mdadm.git/commit
ddf: remove failed devices that are no longer in use.
authorNeilBrown <neilb@suse.de>
Tue, 15 Mar 2011 04:02:49 +0000 (15:02 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 15 Mar 2011 04:02:49 +0000 (15:02 +1100)
commitc7079c84412848c11d21b99bd3702701fa5ca5d6
tree59f85960659466f1497c70cb0b170514deda2c99
parent8401644c3a8b2a15bfed25cedc3c4ec0beff07c2
ddf: remove failed devices that are no longer in use.

The DDF spec requires we have a phys disk record for every physically
attached device.  But it isn't clear what that means in the case
of soft raid in a general purpose Linux computer.
So remove phys disk records for any failed device that is not
active in any array.

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