summaryrefslogtreecommitdiffstats
path: root/daemons/dmeventd/dmeventd.h
Commit message (Collapse)AuthorAgeFilesLines
* configure: run directory configuration cleanupPeter Rajnoha2012-06-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were several hard-coded values for run directory around the code. Also, some tools are DM specific only, others are LVM specific and there was no distinction made here before. With this patch applied, we have this cleaned up a bit (subsystem in brackets, defaults in parentheses): [common] configurable PID_DIR (/var/run) lvm [lvm] configurable RUN_DIR (/var/run/lvm) configurable locking dir (/var/lock/lvm) clvmd [lvm] configurable pid file (PID_DIR/clvmd.pid) socket (RUN_DIR/clvmd.sock) lvmetad [lvm] configurable pid file (PID_DIR/lvmetad.pid) socket (RUN_DIR/lvmetad.socket) dm [dm] configurable DM_RUN_DIR (/var/run) cmirrord [dm] configurable pid file (PID_DIR/cmirrord.pid) dmeventd [dm] configurable pid file (PID_DIR/dmeventd.pid) server fifo (DM_RUN_DIR/dmeventd-server) client fifo (DM_RUN_DIR/dmeventd-client) The changes briefly: - added configure --with-default-pid-dir - added configure --with-default-dm-run-dir - added configure --with-lvmetad-pidfile - by default, using one common pid directory for everything (only lvmetad was not following this before)
* Add FIXME for misuse in case of dm_event_mask enum.Zdenek Kabelac2012-02-271-0/+1
| | | | Using enum for bitmask is not proper solution here.
* Add rudimentary versioning to the dmevend protocol, allowing us to detect thePetr Rockai2011-04-041-0/+1
| | | | | | (protocol) version of the running dmeventd on the client side. Right now this is only used in dmeventd -R.
* remove unused definitionsAlasdair Kergon2011-01-171-3/+0
|
* Implement dmeventd -R, allowing dmeventd to be restarted without losingPetr Rockai2010-10-201-0/+10
| | | | monitoring state.
* Add dm_create_lockfile to libdm to handle pidfiles for all daemons.Fabio M. Di Nitto2010-07-131-2/+2
| | | | | | Switch dmeventd to use dm_create_lockfile and drop duplicate code. Allow clvmd pidfile to be configurable. Switch cmirrord and clvmd to use dm_create_lockfile.
* Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.Alasdair Kergon2007-08-211-0/+14
|
* Improve dmeventd messaging protocol: drain pipe and tag messages.Alasdair Kergon2007-02-021-0/+1
|
* Lots of dmevent changes.Alasdair Kergon2007-01-081-6/+44
| | | | | Export dm_basename(). Cope with a trailing space when comparing tables prior to possible reload.
* Rename _log to dm_log and export.Alasdair Kergon2006-01-311-1/+2
| | | | Fix misc compile-time warnings.
* dmeventd updatesAlasdair Kergon2005-12-021-0/+12