diff --git a/WHATS_NEW b/WHATS_NEW index 9e2a3ddd9..42a2571a7 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.122 - ================================= + Allow to extend reduced thin volumes with external origins. Consider snapshot and origin LV as unusable if its component is suspended. Fix lvmconfig segfault on settings with undefined default value (2.02.120). diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c index 998379381..07f119a44 100644 --- a/lib/metadata/lv_manip.c +++ b/lib/metadata/lv_manip.c @@ -5084,16 +5084,6 @@ static int _lvresize_check_type(struct cmd_context *cmd, const struct logical_vo if (lv_is_thin_volume(lv) && first_seg(lv)->external_lv && (lp->resize == LV_EXTEND)) { - /* - * TODO: currently we do not support extension of already reduced thin volume. - * But it might be possible to create combined mapping of some part of - * the external origin followed by zero target. - */ - if (first_seg(lv)->external_lv->size > lv->size) { - log_error("Extension of reduced thin volume with external origin is unsupported."); - return 0; - } - /* Validate thin target supports bigger size of thin volume then external origin */ if (first_seg(lv)->external_lv->size <= lv->size && !thin_pool_feature_supported(first_seg(lv)->pool_lv, THIN_FEATURE_EXTERNAL_ORIGIN_EXTEND)) {