]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Assemble.c
Factor out add-disk code
authorNeilBrown <neilb@suse.de>
Thu, 18 Sep 2008 05:13:32 +0000 (15:13 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 18 Sep 2008 05:13:32 +0000 (15:13 +1000)
commit7801ac209240ca5d5159d2ab990dd8d5573e2195
tree9eef66102669532a41150d2750c234b6cf658bfe
parent9b2a22d319a85c1571c776e7059d9ca4bf1a0f0a
Factor out add-disk code

The variety of approaches to 'add_disk' are factored out into
a separate function, and Incremental mode benefits by being
closer to supporting the assembly of containers.

Also remove the adding-to-array-data-structure out of sysfs_add_disk
and into add_disk.

And add some tests for --incremental mode to make sure we don't break it.

Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c
Create.c
Incremental.c
managemon.c
mdadm.h
super-intel.c
sysfs.c
test
tests/03r0assem
tests/03r5assemV1
util.c