Skip to contentSkip to conversation

master - lvconvert: Support raid0<->raid4 and mirror<->raid1.

PATCH Alasdair Kergon 1 participant 1 message Aug 6, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=76ef2d15d839106adac4d82005d517be05a657eb
Commit:        76ef2d15d839106adac4d82005d517be05a657eb
Parent:        de7f1deb80499087662e57c4aef9e9373f15ca63
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Sun Aug 7 00:56:08 2016 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Sun Aug 7 00:56:08 2016 +0100

lvconvert: Support raid0<->raid4 and mirror<->raid1.

Only simple takeover cases so far.

---
 WHATS_NEW                 |    2 +
 lib/metadata/raid_manip.c |  476 +++++++++++++++++++++++++++++++++++++++++++--
 tools/lvconvert.c         |  102 +++++++---
 3 files changed, 535 insertions(+), 45 deletions(-)
WHATS_NEW +2 -0
index 7282081..3adc194 100644
@@ -1,5 +1,7 @@
 Version 2.02.163 - 
 =================================
+  Support straightforward lvconvert between striped and raid4 LVs.
+  Support straightforward lvconvert between raid1 and mirror LVs.
   Report supported conversions when asked for unsupported raid lvconvert.
   Add "--rebuild PV" option to lvchange to allow for PV selective rebuilds.
   Preserve existing mirror region size when using --repair.
lib/metadata/raid_manip.c +462 -14

619 lines not on this page · raw message

tools/lvconvert.c +71 -31

209 lines not on this page · raw message