]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Grow.c
Change way that reshaping arrays with external-metadata are assembled.
authorNeilBrown <neilb@suse.de>
Tue, 8 Mar 2011 05:10:29 +0000 (16:10 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 8 Mar 2011 05:10:29 +0000 (16:10 +1100)
commit20a40eca4b40068f6a45b9eab67320bd5de56f11
tree9fa3bf8972be7e11b6d51bda90831a2a9b06cc85
parent3f83228aa83f00e83c15c1331d9e27c50c7a9fdc
Change way that reshaping arrays with external-metadata are assembled.

Now that the external metadata handler must provide an md-compatible
old/new geometry, sys_set_array can do all of the array set-up for
an array that is undergoing reshape.
That leave less for reshape_array to do.

Also clean up how reshape_array tells if the reshape has started or
not.
Don't use ->reshape_active as that doesn't tell us anything consistent
at this stage, only use the 'restart' flag passed in.

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c
sysfs.c