]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: don't update migration record when reshape is interrupted
authorArtur Paszkiewicz <artur.paszkiewicz@intel.com>
Tue, 5 Jan 2016 16:16:16 +0000 (17:16 +0100)
committerNeilBrown <neilb@suse.com>
Thu, 7 Jan 2016 00:10:34 +0000 (11:10 +1100)
commitc85338c67570ec346bbd7fb0948bb0da4b43bcc3
treefcd94efb8c9a9babd9c930a539543777cbf19753
parent5ff3a780abeb5e4d97727dd213e5923f55cae28b
imsm: don't update migration record when reshape is interrupted

Abort imsm_manage_reshape() without updating the migration record if any
error occurs when checking progress. If reshape is interrupted and the
migration record is then updated, the checkpoint will be wrong and will
cause reshape to fail when the array is restarted.

Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: NeilBrown <neilb@suse.com>
super-intel.c