]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove lvm-thin pool_size config option
authorJohn Griffith <john.griffith@solidfire.com>
Thu, 31 Oct 2013 16:14:57 +0000 (10:14 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Thu, 31 Oct 2013 17:12:05 +0000 (11:12 -0600)
commit930f4b393af312b39b56ee00a5f5282010f4156b
treea8dc90ace7b95e307e1c298e255f2c9635462cff
parent300ce61120ce179d1d0e4ffe8aa0bd4ceaddba6b
Remove lvm-thin pool_size config option

The pool_size config option when using thin LVM
is never actually checked/honored.  It's also unlikely
that users will want to do something other than use the
entire VG for their thin pool.

Rather than have the unused option going forward let's
remove it from the config and just go with the default
behavior of utilizing the entire Cinder VG.

For folks that would like to only use a portion of the
VG for some reason, they can do an lvcreate pool on their
own (just like we have them do for the VG itself) and get
the same flexibility that way.

This is done simply by:
lvcreate -T -L ${size} ${vg-name}/${vg_name}-pool

DocImpact

Change-Id: I3ef2cde433b8dd775b1873a0d6df165dd1945d8c
cinder/volume/drivers/lvm.py
etc/cinder/cinder.conf.sample