Mdadm should not run 'grow-continue' unit file for container if
'--freeze-reshape' argument is passed. Otherwise it will be ignored,
and reshape will start anyway.
Signed-off-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Reviewed-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
*/
ping_monitor(container);
- if (!forked && !check_env("MDADM_NO_SYSTEMCTL"))
+ if (!forked && !freeze_reshape && !check_env("MDADM_NO_SYSTEMCTL"))
if (continue_via_systemd(container))
return 0;