]> sourceware.org Git - lvm2.git/commit
tools: update for lvm2_disable_dmeventd_monitoring
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 23 Oct 2015 08:48:01 +0000 (10:48 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 23 Oct 2015 08:54:13 +0000 (10:54 +0200)
commite5b686d6932be9931a386d15e8d452153225952b
tree662d82c87fae0f2c680dd5fa926c526453080ad5
parent87a39d8bac572b67f927dad41548155606a50f4f
tools: update for lvm2_disable_dmeventd_monitoring

Make lvm2_disable_dmeventd_monitoring() more explicit.

As memlock_inc_daemon() is also used by clvmd, which
does changes dmeventd and suspend ignore state at
some stages - make updates of these 2 variable
tied to the call of  lvm2_disable_dmeventd_monitoring().

Once this call is made dmeventd monitoring
and suspended devices are ignored.

TODO: all lvm-global settings should really be moved
to command context.
lib/misc/lvm-globals.c
lib/misc/lvm-globals.h
tools/lvmcmdlib.c
This page took 0.03972 seconds and 5 git commands to generate.