diff --git a/WHATS_NEW b/WHATS_NEW index 6e23fcbc1..163077fe7 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,6 +1,7 @@ Version 2.02.131 - ===================================== - Disallow usage of --stripe and --stripsize when creating cache pool. + Use passed list of PVS when allocating space in lvconvert --thinpool. + Disallow usage of --stripe and --stripesize when creating cache pool. Warn user when caching raid or thin pool data LV. When layering LV, move LV flags with segments. Ignore persistent cache if configuration changed. (2.02.127) diff --git a/tools/lvconvert.c b/tools/lvconvert.c index 237de2db8..6b8f7aae1 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -2348,7 +2348,7 @@ static int _lvconvert_pool_repair(struct cmd_context *cmd, pmslv = pool_lv->vg->pool_metadata_spare_lv; /* Check we have pool metadata spare LV */ - if (!handle_pool_metadata_spare(pool_lv->vg, 0, NULL, 1)) + if (!handle_pool_metadata_spare(pool_lv->vg, 0, lp->pvh, 1)) return_0; if (pmslv != pool_lv->vg->pool_metadata_spare_lv) { @@ -2473,7 +2473,7 @@ deactivate_pmslv: } /* Try to allocate new pool metadata spare LV */ - if (!handle_pool_metadata_spare(pool_lv->vg, 0, NULL, 1)) + if (!handle_pool_metadata_spare(pool_lv->vg, 0, lp->pvh, 1)) stack; if (dm_snprintf(meta_path, sizeof(meta_path), "%s_meta%%d", pool_lv->name) < 0) {