Skip to contentSkip to conversation

master - lvmpolld: introduce client functionality

PATCH okozina 1 participant 1 message May 15, 2015

lore
Share & tools
lore

okozina

author
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b91e1ea95ec3b1196eade0bbd9f539bf3c7c460a
Commit:        b91e1ea95ec3b1196eade0bbd9f539bf3c7c460a
Parent:        04c77bd8863b071b9e376c76708af6cede596a45
Author:        Ondrej Kozina <[email protected]>
AuthorDate:    Fri May 15 18:47:25 2015 +0200
Committer:     Ondrej Kozina <[email protected]>
CommitterDate: Fri May 15 20:33:27 2015 +0200

lvmpolld: introduce client functionality

as of now lvmpolld works as client utility for querying running instance of lvmpolld server on metadata, state, etc.

Currently the only request implemented is the '--dump'. It prints out full lvmpolld state (mimics lvmdump -p command).

---
 WHATS_NEW                        |    1 +
 daemons/lvmpolld/lvmpolld-core.c |  231 ++++++++++++++++++++++++++++++++------
 2 files changed, 197 insertions(+), 35 deletions(-)
WHATS_NEW +1 -0
index e92c01a..13a034b 100644
@@ -1,5 +1,6 @@
 Version 2.02.120 -
 ===============================
+  add lvmpolld client mode for querying running server instance for status info.
   Fix some libdaemon socket creation and reuse error paths.
   Daemons (libdaemon) support exit on idle also in non-systemd environment.
   Provide make dist and make rpm targets
daemons/lvmpolld/lvmpolld-core.c +196 -35

377 lines not on this page · raw message