Version 2.02.101 -
===================================
- Require exactly 3 arguments for lvm2-activation-generator, remove defaults.
+ Avoid unlimited recursion when creating dtree containing inactive pvmove LV.
+ Require exactly 3 arguments for lvm2-activation-generator. Remove defaults.
Disable pvmove of merging or converting logical volumes.
Enable pvmove of snapshots and snapshot origins.
Fix inability to specify LV name when pvmove'ing a RAID, mirror, or thin-LV.
return_0;
/* Add any LVs referencing a PVMOVE LV unless told not to. */
- if (dm->track_pvmove_deps && lv->status & PVMOVE)
+ if (dm->track_pvmove_deps && lv->status & PVMOVE) {
+ dm->track_pvmove_deps = 0;
dm_list_iterate_items(sl, &lv->segs_using_this_lv)
- if (!_cached_info(dm->mem, dtree, sl->seg->lv, 0) &&
- !_add_lv_to_dtree(dm, dtree, sl->seg->lv, origin_only))
+ if (!_add_lv_to_dtree(dm, dtree, sl->seg->lv, origin_only))
return_0;
+ dm->track_pvmove_deps = 1;
+ }
/* Adding LV head of replicator adds all other related devs */
if (lv_is_replicator_dev(lv) &&