]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Grow.c
Grow: fix problems with prematurely aborting of reshapes.
authorNeilBrown <neilb@suse.de>
Mon, 20 Jan 2014 04:31:45 +0000 (15:31 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 20 Jan 2014 04:31:45 +0000 (15:31 +1100)
commit5e7be8389446a4afa016351e65d1ead31a978f16
treeb1c5fd57c7cdcb0884867e85a9cd89d0c493d97f
parentf0e876ce03a63f150bb87b2734c139bc8bb285b2
Grow: fix problems with prematurely aborting of reshapes.

1/ when unfreezing, make sure the array is frozen first.
   If it isn't we might end up interrupting a reshape.
2/ When the child finishes, don't call abort_reshape() as that
   will interrupt the reshape.  Just set suspend_* etc
   explicitly.

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