Skip to contentSkip to conversation

master - lvconvert: improve validation thin and cache pool conversion

PATCH Zdenek Kabelac 1 participant 1 message Sep 17, 2019

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7612c21f5511c58bac81fc46e304bd9f4cd2cd75
Commit:        7612c21f5511c58bac81fc46e304bd9f4cd2cd75
Parent:        13fb57bbb1deca9ea14e58a3a4edf284d3f4846c
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Sep 6 18:09:40 2019 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Sep 17 13:13:49 2019 +0200

lvconvert: improve validation thin and cache pool conversion

Limit convertible LVs to thin-pool and cache-pools. Also fix return code on interal error path to return ECMD_FAILED.

---
 WHATS_NEW         |    1 +
 tools/lvconvert.c |   52 +++++++++++++++++++++++++++++++++++++++++++++++-----
 2 files changed, 48 insertions(+), 5 deletions(-)
WHATS_NEW +1 -0
index cb93bbe..518b944 100644
@@ -1,5 +1,6 @@
 Version 2.03.06 - 
 ================================
+  Enhance validation for thin and cache pool conversion and swapping.
   Improve internal removal of cached devices.
   Synchronize with udev when dropping snapshot.
   Add missing device synchronization point before removing pvmove node.
tools/lvconvert.c +47 -5

71 lines not on this page · raw message