mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvconvert: enable spare creation during conversion
Let user control pool metadata spare creation after repair as the VG might not have enough free space.
This commit is contained in:
parent
3b76e9fd98
commit
e32e793c43
@ -1,5 +1,6 @@
|
||||
Version 2.02.142 -
|
||||
====================================
|
||||
Support control of spare metadata creation when repairing thin-pool.
|
||||
Fix config type of 'log/verbose' from bool to int (2.02.99).
|
||||
Fix thinp watermark calc for data LV for faster dmeventd responce (2.02.133).
|
||||
Use use_blkid_wiping=0 if not defined in lvm.conf and support not compiled in.
|
||||
|
@ -2481,7 +2481,8 @@ deactivate_pmslv:
|
||||
}
|
||||
|
||||
/* Try to allocate new pool metadata spare LV */
|
||||
if (!handle_pool_metadata_spare(pool_lv->vg, 0, lp->pvh, 1))
|
||||
if (!handle_pool_metadata_spare(pool_lv->vg, 0, lp->pvh,
|
||||
lp->poolmetadataspare))
|
||||
stack;
|
||||
|
||||
if (dm_snprintf(meta_path, sizeof(meta_path), "%s_meta%%d", pool_lv->name) < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user