]> git.ipfire.org Git - thirdparty/mdadm.git/commit
super-intel: ensure suspended region is removed when reshape completes.
authorNeilBrown <neilb@suse.com>
Thu, 18 Feb 2016 04:53:32 +0000 (15:53 +1100)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 22 Feb 2016 14:52:01 +0000 (09:52 -0500)
commit942e1cdb4a6a5be02672bc686169c679e775c2be
treec0e873a99cc090b29fcb153f2857b28579cbaed6
parentbf08f6b1efed94b80c4cfb433db7202b6b7f794c
super-intel: ensure suspended region is removed when reshape completes.

A recent commit removed a call to abort_reshape() when IMSM reshape
completed.  An unanticipated result of this is that the suspended
region is not cleared as it should be.
So after a reshape, a region of the array will cause all IO to block.

Re-instate the required updates to suspend_{lo,hi} coped from
abort_reshape().

This is caught (sometimes) by the test suite.

Also fix a couple of typos found while exploring the code.

Reported-by: Ken Moffat <zarniwhoop@ntlworld.com>
Cc: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Fixes: 2139b03c2080 ("imsm: don't call abort_reshape() in imsm_manage_reshape()")
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
super-intel.c