1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Peter Rajnoha f6adef9825 config: runtime default for devices/cache, devices/cache_dir
The devices/cache and devices/cache_dir are evaluated in runtime this way:

  - if devices/cache is set, use it

  - if devices_cache/dir or devices/cache_file_prefix is set, make up a
    path out of that for devices/cache in runtime, taking into account
    the LVM_SYSTEM_DIR environment variable if set

  - otherwise make up the path out of default which is:
    <LVM_SYSTEM_DIR>/<cache_dir>/<cache_file_prefix>.cache

With the runtime defaults, we can encode this easily now. Also, the lvm
dumpconfig can show proper and exact information about this setting then
(the variant that shows default values).
2014-03-06 11:07:54 +01:00
..
activate cleanup: relocate segment flags 2014-02-27 14:46:11 +01:00
cache lvmetad: more reuse precommit buffer 2014-03-01 14:08:58 +01:00
cache_segtype cache-pool: Change segtype name from cache_pool to cache-pool 2014-02-19 09:26:03 -06:00
commands config: runtime default for devices/cache, devices/cache_dir 2014-03-06 11:07:54 +01:00
config config: runtime default for devices/cache, devices/cache_dir 2014-03-06 11:07:54 +01:00
datastruct cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
device cleanup: reorder commonly available devs in system to the front 2014-02-24 21:13:35 +01:00
display allocation: misc fixes for percent/raid rounding 2014-02-22 00:26:01 +00:00
error cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
filters filters: drop extra slash from sysfs path 2013-11-22 20:53:31 +01:00
format1 format1: Mark obsolete and do not use with lvmetad. 2014-01-14 03:27:45 +00:00
format_pool pvscan: use format feature flags in lvmetad code 2014-01-08 02:13:13 +00:00
format_text format-text: Fix a warning. 2014-02-28 16:23:16 +01:00
freeseg cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
label cleanup: remove unneeded header files 2014-02-11 19:00:06 +01:00
locking config: fixup default values for selected config settings 2014-03-06 09:49:57 +01:00
log cleanup: simplify logging code 2013-12-12 13:27:59 +01:00
metadata lvmetad: more reuse precommit buffer 2014-03-01 14:08:58 +01:00
mirror mirror: move declaration to define 2014-02-25 09:35:26 +01:00
misc cleanup: remove unneeded header files 2014-02-11 19:00:06 +01:00
mm gcc: replace #ifdef linux with __linux__ 2013-11-13 13:56:29 +00:00
properties lvm2app: Add thin and thin pool lv creation 2013-07-12 16:52:16 -05:00
raid raid: use feature attributes for raid10 2014-02-24 21:10:13 +01:00
replicator cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
report cache[pool]: Populate existing report fields with cache data 2014-02-05 09:44:37 -06:00
snapshot snapshot: correct previous snapshot commit 2014-02-27 13:00:49 +01:00
striped Add activation/use_linear_target enabled by default. (prajnoha) 2011-11-28 20:37:51 +00:00
thin thin: cleanup target_present call 2014-02-24 21:09:29 +01:00
unknown cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
uuid cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
zero cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
Makefile.in cache: Add functions that create/remove cache LVs 2014-02-04 07:59:58 -06:00