]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Assemble.c
Always run Grow_continue() for started array.
authorAdam Kwolek <adam.kwolek@intel.com>
Thu, 6 Oct 2011 09:13:22 +0000 (11:13 +0200)
committerNeilBrown <neilb@suse.de>
Thu, 6 Oct 2011 22:46:07 +0000 (09:46 +1100)
commit3bd58dc65f154993f2cc8b1460c67884cb901605
treedbc013ffd654792a03699045aad7abd0deb9468d
parentea672ee1190e3ce4e4f0a0e612f9dd1808b31c41
Always run Grow_continue() for started array.

So far there were 2 reshape continuation cases:
 1. array is started /e.g. reshape was already invoked during initrd
                      start-up stage using "--freeze-reshape" option/
 2. array is not started yet /"normal" assembling array under reshape case/

This patch narrows continuation cases in to single one. To do this
array should be started /set readonly in to array_state/ before calling
Grow_continue() function.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c
Grow.c