Display if there's an ongoing reshape happening in mdadm --detail
--export output.
This change is needed for incoming patches that will change "grow
continue" udev rules, to be based on actual array state.
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
map_free(map);
if (st && st->sb) {
+ if (info)
+ printf("MD_RESHAPE_ACTIVE=%s\n",
+ info->reshape_active ? "True" : "False");
if (st->ss->export_detail_super)
st->ss->export_detail_super(st);
}