]> sourceware.org Git - lvm2.git/commit
Use "cachevol" to refer to cache on a single LV
authorDavid Teigland <teigland@redhat.com>
Wed, 30 Jan 2019 15:55:34 +0000 (09:55 -0600)
committerDavid Teigland <teigland@redhat.com>
Wed, 27 Feb 2019 14:52:34 +0000 (08:52 -0600)
commita9eaab6bebe1919b476ec3a4d094a4d6c512920e
tree87beba6e7e30e1954ce7027e35d035a3de0c131b
parentc8fc18e8bfbf6e81fc26c7cde780711db748f112
Use "cachevol" to refer to cache on a single LV

and "cachepool" to refer to a cache on a cache pool object.

The problem was that the --cachepool option was being used
to refer to both a cache pool object, and to a standard LV
used for caching.  This could be somewhat confusing, and it
made it less clear when each kind would be used.  By
separating them, it's clear when a cachepool or a cachevol
should be used.

Previously:

- lvm would use the cache pool approach when the user passed
  a cache-pool LV to the --cachepool option.

- lvm would use the cache vol approach when the user passed
  a standard LV in the --cachepool option.

Now:

- lvm will always use the cache pool approach when the user
  uses the --cachepool option.

- lvm will always use the cache vol approach when the user
  uses the --cachevol option.
24 files changed:
lib/activate/dev_manager.c
lib/activate/dev_manager.h
lib/cache_segtype/cache.c
lib/format_text/flags.c
lib/locking/lvmlockd.c
lib/metadata/cache_manip.c
lib/metadata/lv.c
lib/metadata/lv_manip.c
lib/metadata/merge.c
lib/metadata/metadata-exported.h
lib/report/report.c
man/lvmcache.7_main
test/shell/cache-single-options.sh
test/shell/cache-single-thin.sh
test/shell/cache-single-types.sh
test/shell/cache-single-usage.sh
test/shell/writecache.sh
tools/args.h
tools/command-lines.in
tools/lvchange.c
tools/lvconvert.c
tools/lvmcmdline.c
tools/tools.h
tools/vgsplit.c
This page took 0.037051 seconds and 5 git commands to generate.