1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00
lvm2/lib
Zdenek Kabelac d46c2f1c94 cache: improve creation code
Move code to better locations.
Improve test and remove invalid ones
(i.e. no reason to require cache size to be >= then origin).

Correctly comment where the code is doing actual conversion
of other existing volume - we do already a similar thing with
external origins.

Lots of new command line options and combinations is now supported.
Hopefully older syntax still works as well.

lvcreate --cache --cachepool vg/pool  -l1
lvcreate --type cache --cachepool vg/pool  -l1
lvcreate --type cache-pool vg/pool  -l1
lvcreate --type cache-pool --name pool vg  -l1
... and many many more ...
2014-10-06 15:18:06 +02:00
..
activate refactor: make it possible to select what to check exactly when calling device_is_usable fn 2014-09-30 13:11:58 +02:00
cache filters: add cmd->full_filter - composite of cmd->filter and cmd->lvmetad_filter 2014-10-02 13:06:46 +02:00
cache_segtype
commands filters: add cmd->full_filter - composite of cmd->filter and cmd->lvmetad_filter 2014-10-02 13:06:46 +02:00
config cache: include cache mode in vg metadata and display 2014-10-02 11:17:41 -05:00
datastruct
device
display
error
filters cleanup: remove compiler warning about possible uninitialized variable use 2014-10-02 13:21:24 +02:00
format1
format_pool
format_text
freeseg
label
locking
log
metadata cache: improve creation code 2014-10-06 15:18:06 +02:00
mirror
misc
mm
properties
raid
replicator
report cache: include cache mode in vg metadata and display 2014-10-02 11:17:41 -05:00
snapshot
striped
thin
unknown
uuid
zero
Makefile.in filters: add "usable device" filter 2014-09-30 13:11:58 +02:00