Skip to contentSkip to conversation

master - dmeventd: snapshot plugin updates

PATCH Zdenek Kabelac 1 participant 1 message Oct 22, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=7ff5b03e5e82b31ed332ee95631cede836224621
Commit:        7ff5b03e5e82b31ed332ee95631cede836224621
Parent:        91350f5c6ad149a565402254688c6bd1700c5bf5
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Oct 22 15:35:55 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Oct 22 22:29:50 2015 +0200

dmeventd: snapshot plugin updates

Improve test for invalid snapshot.

Use dm_make_percent() to manipulate with exactly same percentage as lvm2 command is using.

---
 WHATS_NEW_DM                                       |    1 +
 .../dmeventd/plugins/snapshot/dmeventd_snapshot.c  |   42 +++++++++----------
 2 files changed, 21 insertions(+), 22 deletions(-)
WHATS_NEW_DM +1 -0
index 653e32d..ba22f1e 100644
@@ -1,5 +1,6 @@
 Version 1.02.110 - 
 ======================================
+  Snapshot plugin for dmeventd improved percentage usage.
   Add dm_hold_control_dev to allow holding of control device open.
   Add dm_report_compact_given_fields to remove given empty fields from report.
   Use libdm status parsing and local mem raid dmeventd plugin.
daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c +20 -22

84 lines not on this page · raw message