This was missing piece in
77997c7673bfca56f51ae4eb55a50bc76e40fe79.
When merging origin is inactive (while driver is loaded) we
could already report merge in progress values as there is
no way to activate 'old state' now.
case SEG_STATUS_SNAPSHOT:
break;
default:
+ /* When inactive, it's technically merging */
+ if (status->info_ok && !status->info.exists)
+ break;
return 1;
}
/* Origin is gone */
- log_debug_activation("Merge is progress, reporting merged LV %s.",
+ log_debug_activation("Merge is in progress, reporting merged LV %s.",
display_lvname(lv->snapshot->lv));
*merged = 1;