Skip to contentSkip to conversation

master - raid: optimize clearing of lvs

PATCH Zdenek Kabelac 1 participant 1 message Dec 11, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=55ca8043d4bb0ef4435a24728cad34f8b0ff6c8c
Commit:        55ca8043d4bb0ef4435a24728cad34f8b0ff6c8c
Parent:        8831a541a831a2d25cb96ee09f6739526d29e5c1
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sat Dec 10 20:53:17 2016 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Sun Dec 11 23:19:41 2016 +0100

raid: optimize clearing of lvs

Activate whole list of metadata lvs first before clearing them. (Similar to commit ada5733c5652d456ffa138b0d07e6897824813b0)

TODO: make this clearing in a single common function.

---
 WHATS_NEW                 |    1 +
 lib/metadata/raid_manip.c |   92 ++++++++++++++++++++++----------------------
 2 files changed, 47 insertions(+), 46 deletions(-)
WHATS_NEW +1 -0
index b6f74ec..9e95792 100644
@@ -1,5 +1,6 @@
 Version 2.02.169 - 
 =====================================
+  Optimize another _rmeta clearing code.
   Fix deactivation of raid orphan devices for clustered VG.
   Fix lvconvert raid1 to mirror table reload order.
   Add internal function for separate mirror log preparation.
lib/metadata/raid_manip.c +46 -46

123 lines not on this page · raw message