1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/daemons/dmeventd
Zdenek Kabelac 212cf8efbd dmeventd: enhance time waiting loop
dmeventd is 'scanning' statuses in loop (most usually in 10sec
intervals) - and meanwhile it sleeps within:
pthread_cond_timedwait()

However this function call tends to wakeup sometimes a short amount of
time sooner - and our code still believe the 'right time' has not yet
arrived and basically for a moment 'busy-looped' on calling this
function - so for systems with 'clock_gettime()' present we obtain
time and we go 10ms to the future second - this avoids unneeded
repeated invocation of our time scheduling loop.

TODO: monitoring during 1 hour 'time-change'...
2020-03-05 17:38:55 +01:00
..
plugins revert "dmeventd: vdo plugin link lvm library" 2019-11-15 12:37:41 +01:00
.exported_symbols Add rudimentary versioning to the dmevend protocol, allowing us to detect the 2011-04-04 16:11:09 +00:00
.gitignore gitignore: Update for in-place build. 2015-07-27 13:18:35 +01:00
dmeventd.c dmeventd: enhance time waiting loop 2020-03-05 17:38:55 +01:00
dmeventd.h doc: change fsf address 2016-01-21 12:11:37 +01:00
libdevmapper-event.c dmeventd: nicer error path for reading pipe 2020-02-04 17:22:06 +01:00
libdevmapper-event.h dmeventd: fix linking with libdevmapper 2018-12-14 22:33:22 +01:00
libdevmapper-event.pc.in device-mapper: Fork libdm internally. 2018-05-16 13:00:50 +01:00
Makefile.in dmeventd: fix linking with libdevmapper 2018-12-14 22:33:22 +01:00