]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
Allow Grow_continue for whole container as well as single array.
authorNeilBrown <neilb@suse.de>
Tue, 8 Mar 2011 06:36:40 +0000 (17:36 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 8 Mar 2011 06:36:40 +0000 (17:36 +1100)
commit493f5dd6b249da3b92822f9e8ee0f20b17b131ce
treefcfed0ab3a235d0958c626b842dc7ba875f45b93
parent04fa95230951582a4c5e8f022627d8baebd51af2
Allow Grow_continue for whole container as well as single array.

Some grow operations must be applied to a whole container.  These
are performed one array at a time, so only one array appears to
be reshaping.

When re-assembling such an array, we need to make sure that
when the reshape finished, we move on to the next array.

So require metadata to set ->reshape_active = 2 in that case,
and use reshape_container to complete the reshape.

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