Skip to contentSkip to conversation

LVM2 ./WHATS_NEW_DM daemons/dmeventd/dmeventd.c

PATCH [email protected] 1 participant 1 message Jul 28, 2011

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha at sourceware.org 2011-07-28 13:06:50

Modified files:
. : WHATS_NEW_DM
daemons/dmeventd: dmeventd.c

Log message:
Add support for systemd file descriptor handover in dmeventd.

Systemd preloads file descriptors for us and passes them in for newly spawned daemon when using on-demand fifo (or socket) based activation.

This patch adds checks for file descriptors preloaded by systemd and uses them instead of opening the FIFOs again to properly support on-demand FIFO-based activation.

(We'll change FIFOs to sockets soon - but still this part of the code will stay almost the same.)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW_DM.diff?cvsroot=lvm2&r1=1.484&r2=1.485
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/dmeventd/dmeventd.c.diff?cvsroot=lvm2&r1=1.81&r2=1.82

WHATS_NEW_DM +1 -0
@@ -1,5 +1,6 @@
 Version 1.02.66 - 
 ===============================
+  Add support for systemd file descriptor handover in dmeventd.
   Add support for new oom killer adjustment interface (oom_score_adj).
   Add systemd unit files for dmeventd.
   Fix read-only identical table reload supression.
daemons/dmeventd/dmeventd.c +91 -4

141 lines not on this page · raw message