Version 2.02.169 -
=====================================
+ Fix dm table when the last user of active external origin is removed.
Improve reported lvs status for active external origin volume.
Fix table load for splitted RAID LV and require explicit activation.
Always active splitted RAID LV exclusively locally.
uint32_t count = extents;
uint32_t reduction;
struct logical_volume *pool_lv;
+ struct logical_volume *external_lv = NULL;
if (lv_is_merging_origin(lv)) {
log_debug_metadata("Dropping snapshot merge of %s to removed origin %s.",
if (!count)
break;
+ if (seg->external_lv)
+ external_lv = seg->external_lv;
+
if (seg->len <= count) {
if (seg->merge_lv) {
log_debug_metadata("Dropping snapshot merge of removed %s to origin %s.",
!lv->vg->fid->fmt->ops->lv_setup(lv->vg->fid, lv))
return_0;
+ /* Removal of last user enforces refresh */
+ if (external_lv && !lv_is_external_origin(external_lv) &&
+ lv_is_active(external_lv) &&
+ !lv_update_and_reload(external_lv))
+ return_0;
+
return 1;
}