]> sourceware.org Git - lvm2.git/commit
Add support for systemd file descriptor handover in dmeventd.
authorPeter Rajnoha <prajnoha@redhat.com>
Thu, 28 Jul 2011 13:06:50 +0000 (13:06 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Thu, 28 Jul 2011 13:06:50 +0000 (13:06 +0000)
commit3c614ef1c1f636fea8cd4920ebf258a4a90f0fc4
tree0916b60a3cb2791c1c8c22c71020b1675ee28f6f
parent7d47d109b9a88280a21e76de59a00860bac93c57
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.)
WHATS_NEW_DM
daemons/dmeventd/dmeventd.c
This page took 0.030998 seconds and 5 git commands to generate.