1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/config
Peter Rajnoha f1e2890012 config: make it possible to do a raw config tree merge
Till now, we needed the config tree merge only for merging
tag configs with lvm.conf. However, this type of merging
did a few extra exceptions:

  - leaving out the tags section
  - merging values in activation/volume_list
  - merging values in devices/filter
  - merging values in devices/types

Any other config values were replaced by new values.
However, we'd like to do a 'raw merge' as well, simply
bypassing the exceptions listed above. This will help
us to create a single tree representing the cascaded
configs like CONFIG_STRING -> CONFIG_PROFILE -> ...

The reason for this patch is that when trees are cascaded,
the first value found while traversing the cascade is used,
not making any exceptions like we do for tag configs.
2013-07-08 15:59:25 +02:00
..
config_settings.h thin: make selected thinp settings profilable 2013-07-02 15:22:11 +02:00
config.c config: make it possible to do a raw config tree merge 2013-07-08 15:59:25 +02:00
config.h config: make it possible to do a raw config tree merge 2013-07-08 15:59:25 +02:00
defaults.h report: add vg_profile and lv_profile to report the profile attached to VG/LV 2013-07-02 15:22:12 +02:00