1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00
lvm2/conf
Peter Rajnoha ac3143c093 config: {thin,cache}_{check,repair}_options are never undefined
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.)
2015-07-14 10:13:41 +02:00
..
command_profile_template.profile.in conf: update profile templates for recent changes 2015-02-11 13:22:31 +01:00
example.conf.base lvm.conf: add more information to the comment header 2015-05-14 10:52:24 -05:00
example.conf.in config: {thin,cache}_{check,repair}_options are never undefined 2015-07-14 10:13:41 +02:00
lvmlocal.conf.base config: remove duplication of settings 2015-04-21 14:55:03 -05:00
lvmlocal.conf.in conf: regenerate 2015-07-07 14:11:16 +02:00
Makefile.in make: use lvmconfig ... --withspaces when generating lvm.conf and lvmlocal.conf 2015-06-24 13:20:38 +02:00
metadata_profile_template.profile.in conf: update profile templates for recent changes 2015-02-11 13:22:31 +01:00
thin-generic.profile profile: add thin-generic.profile 2014-06-13 09:56:29 +02:00
thin-performance.profile release 2.02.103 2013-10-04 14:32:23 +01:00