1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00
lvm2/daemons
Zdenek Kabelac a8d59404f7 dmeventd: lvm2 plugin uses envvar registry
Thin plugin started to use configuble setting to allow to configure
usage of external scripts - however to read this value it needed to
execute internal command as dmeventd itself has no access to lvm.conf
and the API for dmeventd plugin has been kept stable.

The call of command itself was not normally 'a big issue' until users
started to use higher number of monitored LVs and execution of command
got stuck because other monitored resource already started to execute
some other lvm2 command and become blocked waiting on VG lock.

This scenario revealed necesity to somehow avoid calling lvm2 command
during resource registration - but this requires bigger changes - so
meanwhile this patch tries to minimize the possibility to hit this race
by obtaining any configurable setting just once - such patch is small
and covers majority of problem - yet better solution needs to be
introduced likely with bigger rework of dmeventd.

TODO: Avoid blocking registration of resource with execution of lvm2
commands since those can get stuck waiting on mutexes.
2018-09-05 14:39:14 +02:00
..
clvmd scan: reopen RDWR during rescan 2018-06-26 12:15:43 -05:00
cmirrord build: add -D_FILE_OFFSET_BITS=64 2018-05-02 18:40:38 +01:00
dmeventd dmeventd: lvm2 plugin uses envvar registry 2018-09-05 14:39:14 +02:00
dmfilemapd coverity: missing free on error path 2018-02-28 21:05:18 +01:00
lvmdbusd python: use // for integer division 2018-05-18 16:25:44 +02:00
lvmetad Remove lvm1 and pool disk formats 2018-04-30 16:55:02 -05:00
lvmlockd lvmlockd: suppress error messages related to lvmetad 2018-05-18 16:00:54 -05:00
lvmpolld makefiles: fixing linking 2017-08-01 11:53:30 +02:00
Makefile.in daemons: add dmfilemapd 2017-03-09 18:50:15 +00:00