diff options
author | Artur Paszkiewicz <artur.paszkiewicz@intel.com> | 2015-10-05 15:18:11 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2015-10-08 06:22:16 +0200 |
commit | 2139b03c2080e6f4e442ff6b7a0f6ffd30decb8b (patch) | |
tree | 82a34c546926659975d50640f3acdd2d5031419e /super1.c | |
parent | re-add: make re-add try to write sysfs node first (diff) | |
download | mdadm-2139b03c2080e6f4e442ff6b7a0f6ffd30decb8b.tar.xz mdadm-2139b03c2080e6f4e442ff6b7a0f6ffd30decb8b.zip |
imsm: don't call abort_reshape() in imsm_manage_reshape()
Calling abort_reshape() in imsm_manage_reshape() is unnecessary in case
of an error because it is handled by reshape_array(). Calling it when
reshape completes successfully is also unnecessary and leads to a race
condition:
- reshape ends
- mdadm calls abort_reshape() -> sets sync_action to idle
- MD_RECOVERY_INTR is set and md_reap_sync_thread() does not finish the
reshape
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: Konrad Dabrowski <konrad.dabrowski@intel.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'super1.c')
0 files changed, 0 insertions, 0 deletions