1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Peter Rajnoha b5e093624d toolcontext: read all configuration sources when checking config values in lvm2-activation-generator through lighweight toolcontext handler
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).
2016-09-23 14:57:44 +02:00
..
activate snapshots: Fix monitoring to use cow not internal LV. 2016-09-20 02:30:58 +01:00
cache config: use config_tree_from_string_without_dup_node_check throughout code to construct metadata trees 2016-09-21 18:18:15 +02:00
cache_segtype lvchange: allow change of cache mode 2016-05-19 18:40:14 +02:00
commands toolcontext: read all configuration sources when checking config values in lvm2-activation-generator through lighweight toolcontext handler 2016-09-23 14:57:44 +02:00
config config: parse config tree without dup node checking if it's metadata tree 2016-09-21 18:16:05 +02:00
datastruct datastruct: Add str_list_wipe. 2016-04-29 19:47:15 +01:00
device dev-type: check for DEVLINKS udev db variable existence if udev_device_get_is_initialized fn is not present 2016-09-06 13:21:29 +02:00
display cleanup: warns from older gcc 2016-07-01 00:44:48 +02:00
error activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
filters cleanup: clean gcc6 minor/major types warnings 2016-08-29 20:51:16 +02:00
format1 redefine pvcreate structs 2016-02-25 09:14:10 -06:00
format_pool macros: Use is_power_of_2. 2016-06-30 17:59:44 +01:00
format_text config: use config_tree_from_string_without_dup_node_check throughout code to construct metadata trees 2016-09-21 18:18:15 +02:00
freeseg doc: change fsf address 2016-01-21 12:11:37 +01:00
label lvmcache: add optional dev arg to lvmcache_info_from_pvid 2016-06-07 15:15:47 -05:00
locking lvmlockd: improve error message about missing global lock 2016-07-25 14:49:01 -05:00
log shell: also collect last command's return code for subsequent 'lastlog' invocation 2016-08-09 18:24:45 +02:00
lvmpolld doc: change fsf address 2016-01-21 12:11:37 +01:00
metadata cleanup: remove unused variables 2016-09-21 15:53:50 +02:00
mirror activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
misc lib: Move lcm and gcd to lib/misc for wider use. 2016-08-18 14:06:13 +01:00
mm cleanup: compile fixes for --disable-devmapper 2016-06-03 12:46:43 +02:00
notify notify: Fix hang with lvm shell & --enable-notify-dbus 2016-08-12 14:36:43 -05:00
properties doc: change fsf address 2016-01-21 12:11:37 +01:00
raid raid: Don't monitor raid0 or raid0_meta LVs. 2016-08-20 02:14:33 +01:00
replicator doc: change fsf address 2016-01-21 12:11:37 +01:00
report lvm2app: fix cache percantage reporting 2016-09-09 15:03:28 +02:00
snapshot activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
striped striped: Add precise macros for original segtype. 2016-08-04 01:24:39 +01:00
thin macros: Use is_power_of_2. 2016-06-30 17:59:44 +01:00
unknown doc: change fsf address 2016-01-21 12:11:37 +01:00
uuid coverity: missing check for id_write_format return value 2016-05-31 09:56:10 +02:00
zero activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
Makefile.in lib: Move lcm and gcd to lib/misc for wider use. 2016-08-18 14:06:13 +01:00