1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

lvconvert: drop limitation for converting lv

Fixing regresion on argument acceptance where any lv can be passed
with paramaterless lvconvert which is meant to figure out needed
operation - i.e. wait for  mirror synchronization.

User has no other 'effective' method to wait for mirror getting in-sync.
This commit is contained in:
Zdenek Kabelac 2018-04-18 12:57:17 +02:00
parent a7d077b89b
commit 9068de011d
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.178 - Version 2.02.178 -
===================================== =====================================
Fix regression on acceptance of any LV on lvconvert.
Restore usability of thin LV to be again external origin for another thin. Restore usability of thin LV to be again external origin for another thin.
Keep systemd vars on change event in 69-dm-lvm-metad.rules for systemd reload. Keep systemd vars on change event in 69-dm-lvm-metad.rules for systemd reload.
Write systemd and non-systemd rule in 69-dm-lvm-metad.rules, GOTO active one. Write systemd and non-systemd rule in 69-dm-lvm-metad.rules, GOTO active one.

View File

@ -701,8 +701,8 @@ RULE: all and lv_is_converting
lvconvert LV_mirror_raid lvconvert LV_mirror_raid
OO: OO_LVCONVERT OO: OO_LVCONVERT
ID: lvconvert_start_poll ID: lvconvert_start_poll
DESC: Poll LV to continue conversion (also see --startpoll). DESC: Poll LV to continue conversion (also see --startpoll)
RULE: all and lv_is_converting DESC: or waits till conversion/mirror syncing is finished
FLAGS: SECONDARY_SYNTAX FLAGS: SECONDARY_SYNTAX
--- ---