Skip to contentSkip to conversation

master - suspend: handle start of pvmove

PATCH Zdenek Kabelac 1 participant 1 message Nov 24, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ae6beda12ddd203b806c565faabb5715379eaf85
Commit:        ae6beda12ddd203b806c565faabb5715379eaf85
Parent:        175d06a92940dda5de3a7631e3d27cd6828a16be
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Nov 24 13:51:17 2017 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Nov 24 16:05:21 2017 +0100

suspend: handle start of pvmove

Just like suspend handles preload for pvmove finish, in similar way handle suspend of starting pvmove.

In this case the precommited metadata are checked for list of PVMOVEed LVs and those are suspended in with committed metadata.

---
 WHATS_NEW               |    1 +
 lib/activate/activate.c |   52 +++++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 49 insertions(+), 4 deletions(-)
WHATS_NEW +1 -0
index 03d1e04..5ffe0ed 100644
@@ -1,5 +1,6 @@
 Version 2.02.177 -
 ====================================
+  Enhance activation code to automatically suspend pvmove participants.
   Remove unnecessary single read from lvmdiskscan.
   Avoid using precommitted metadata for suspending pvmove tree.
   Ehnance pvmove locking.
lib/activate/activate.c +48 -4

67 lines not on this page · raw message