]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Assemble.c
Assemble: include ACTIVE but not in-sync devices as non-spares.
authorNeilBrown <neilb@suse.de>
Tue, 17 Nov 2009 01:30:54 +0000 (12:30 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 17 Nov 2009 01:30:54 +0000 (12:30 +1100)
commitf22385f9826bcf35c8055c3b89b731f5760a46c5
tree7fab61d87c2b2bbe8aaad4e642b8c083999ff094
parent14e5b4d72b4db55e688581d98ec47131554f747c
Assemble: include ACTIVE but not  in-sync devices as non-spares.

Previously such things did not exist: ACTIVE and SYNC were either both
set or both clear.   Recent changes with reshape means that a device
can be ACTIVE but not yet fully in-sync, so they need to be handled
and included in the array as active devices.

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