Skip to contentSkip to conversation

master - dmeventd: code mode _get_device_status

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=81e9ab3156badecc6a64447708c4ae4886e3c244
Commit:        81e9ab3156badecc6a64447708c4ae4886e3c244
Parent:        15dbd4b56a65dba2f19bb1685529731faa9894c6
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Oct 22 12:36:25 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Oct 22 22:35:25 2015 +0200

dmeventd: code mode _get_device_status

Move _get_device_status() in code.
Use dm_task_no_flush() function when reading status. (e.g. none blocking for thins pool)

---
 WHATS_NEW_DM                |    1 +
 daemons/dmeventd/dmeventd.c |   44 +++++++++++++++++++++++-------------------
 2 files changed, 25 insertions(+), 20 deletions(-)
WHATS_NEW_DM +1 -0
index 000bddd..5f92657 100644
@@ -1,5 +1,6 @@
 Version 1.02.110 - 
 ======================================
+  Dmeventd read device status with 'noflush'.
   Dmeventd closes control device when no device is monitored.
   Thin plugin for dmeventd improved percentage usage.
   Snapshot plugin for dmeventd improved percentage usage.
daemons/dmeventd/dmeventd.c +24 -20

56 lines not on this page · raw message