Skip to contentSkip to conversation

master - thin: add support to unmount volumes

PATCH Zdenek Kabelac 1 participant 1 message Oct 14, 2012

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3972bd98fbec1c2ab9453a33790636a632e7be65
Commit:        3972bd98fbec1c2ab9453a33790636a632e7be65
Parent:        c6f2821b9fb74bec2de29a878e71fc64a70d11bb
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Mar 22 18:29:38 2012 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Sun Oct 14 23:19:20 2012 +0200

thin: add support to unmount volumes

Reset counter after thin pool resize failure.

If the pool goes above threshold, support unmounting of all thin volumes if the lvextend fails to avoid overfilling of the pool.

---
 WHATS_NEW_DM                                  |    1 +
 daemons/dmeventd/plugins/thin/dmeventd_thin.c |  299 +++++++++++++++++++------
 test/shell/thin-autoumount-dmeventd.sh        |   70 ++++++
 3 files changed, 301 insertions(+), 69 deletions(-)
WHATS_NEW_DM +1 -0
index 22d4b01..342605f 100644
@@ -1,5 +1,6 @@
 Version 1.02.77 -
 =================================
+  Support unmount of thin volumes from pool above thin pool threshold.
   Update man page to reflect that dm UUIDs are being mangled as well.
   Apply 'dmsetup mangle' for dm UUIDs besides dm names.
   Add 'mangled_uuid' and 'unmangled_uuid' fields to dmsetup info -c -o.
daemons/dmeventd/plugins/thin/dmeventd_thin.c +230 -69

359 lines not on this page · raw message

test/shell/thin-autoumount-dmeventd.sh new file +70 -0

70 lines not on this page · raw message