Skip to contentSkip to conversation

stable-2.02 - 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=e147786bac52fea240955329963c9eed0eebfb18
Commit:        e147786bac52fea240955329963c9eed0eebfb18
Parent:        1c07c5482916d493caf951cac5b5b22af0620724
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Sep 6 18:09:40 2019 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Sep 17 11:33:53 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 afdf523..8a597ba 100644
@@ -1,5 +1,6 @@
 Version 2.02.187 - 
 ===================================
+  Enhance validation for thin and cache pool conversion and swapping.
 
 Version 2.02.186 - 27th August 2019
 ===================================
tools/lvconvert.c +47 -5

71 lines not on this page · raw message