mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
ac3143c093
Require global/{thin,cache}_{check,repair}_options to be always defined. If not defined directly by user in the configuration and if there's no concrete default option to use, make "" (empty string) the default one - it's then clearly visible in the "lvmconfig --type default" (and generated lvm.conf) and also it makes its handling in the code more straightforward so we don't need to handle undefined values. This means, if there are no default values for these settings defined, we end up with this generated now: {thin,cache}_{check,repair}_options = [ "" ] So the value is never undefined and if it is, it's an error. (The cache_repair_options is actually not used in the code at the moment, but once the code using this setting is in, it will follow the same logic as used for thin_repair_options.) |
||
---|---|---|
.. | ||
command_profile_template.profile.in | ||
example.conf.base | ||
example.conf.in | ||
lvmlocal.conf.base | ||
lvmlocal.conf.in | ||
Makefile.in | ||
metadata_profile_template.profile.in | ||
thin-generic.profile | ||
thin-performance.profile |