Skip to contentSkip to conversation

master - snapshot: virtual save commit

PATCH Zdenek Kabelac 1 participant 1 message Nov 10, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=6a41286c012e8a15a41f0d807c0cb62de7f515b3
Commit:        6a41286c012e8a15a41f0d807c0cb62de7f515b3
Parent:        ff30783a4f44c823544133260acb8c5171fbd0a6
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Nov 5 15:15:07 2014 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Nov 10 22:05:48 2014 +0100

snapshot: virtual save commit

More efficient spare volume creation. Save 1 extra commit and properly activate this volume according to our cluster activation rules (using lv_active_change() for this).

---
 WHATS_NEW               |    1 +
 lib/metadata/lv_manip.c |   83 ++++++++++++++++++++++++-----------------------
 2 files changed, 43 insertions(+), 41 deletions(-)
WHATS_NEW +1 -0
index f70c657..616d1b0 100644
@@ -1,5 +1,6 @@
 Version 2.02.112 - 
 =====================================
+  Reduce vg write and vg commits when creating spare volumes.
   When remove_layer_from_lv() removes layer, restore subLV names.
   Cache-pool in use becomes invisible LV.
   Don't prompt for removal of _pmspare in VG without pool metadata LV.
lib/metadata/lv_manip.c +42 -41

123 lines not on this page · raw message