mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
b5e093624d
We added lightweight toolcontext handle to avoid useless initialization of some parts of the context and also to avoid problems when using the handle very soon at system boot, like in lvm2-activation-generator through lvm2app interface. However, we missed reading all the other config sources like lvmlocal.conf as well as any tag config - we need to read these too to get the final config value which may be overriden in any of these additional config sources. Currently, we use this lightweight toolcontext handle to read global/use_lvmetad and global/use_lvmpolld config values in lvm2-activation-generator using lvm2app interface (lvm_config_find_bool lvm2app function). |
||
---|---|---|
.. | ||
toolcontext.c | ||
toolcontext.h |