]> sourceware.org Git - lvm2.git/commit
cache: improve creation code
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 3 Oct 2014 21:51:54 +0000 (23:51 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 6 Oct 2014 13:18:06 +0000 (15:18 +0200)
commitd46c2f1c946e21393537a730eaa624665cb96bbc
treeb1452273625739b7ad379635b5bf00caef217d37
parent189d0f8e1deb2ad8b985696d9925f5259ab30baa
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 ...
WHATS_NEW
lib/metadata/lv_manip.c
tools/lvcreate.c
This page took 0.039151 seconds and 5 git commands to generate.