Skip to contentSkip to conversation

master - dmeventd: thin plugin umount over 95%

PATCH Zdenek Kabelac 1 participant 1 message Jun 30, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=2f638e07e814617152d617a2ca7c8acdae41968a
Commit:        2f638e07e814617152d617a2ca7c8acdae41968a
Parent:        103c188681fce748ef193115c126bfbbc65fbab9
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Jun 29 15:56:29 2016 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Jul 1 00:43:45 2016 +0200

dmeventd: thin plugin umount over 95%

Run umount code only when either thin data or metadata are above 95% - so if there are resize failures with 60%. system fill keep running.

Also umount will only be tried with lvm2 LVs.
Foreign users are ATM unsuppored.

---
 WHATS_NEW_DM                                  |    1 +
 daemons/dmeventd/plugins/thin/dmeventd_thin.c |   99 ++++++++++++++++++++++---
 2 files changed, 89 insertions(+), 11 deletions(-)
WHATS_NEW_DM +1 -0
index 5043c23..30d6d82 100644
@@ -1,5 +1,6 @@
 Version 1.02.129 - 
 =================================
+  Thin dmeventd plugin umounts lvm2 volume only when pool is 95% or more.
 
 Version 1.02.128 - 25th June 2016
 =================================
daemons/dmeventd/plugins/thin/dmeventd_thin.c +88 -11

173 lines not on this page · raw message