]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
LVM Thin Provisioning auto-detect
authorEric Harney <eharney@redhat.com>
Mon, 16 Jun 2014 19:43:51 +0000 (15:43 -0400)
committerEric Harney <eharney@redhat.com>
Wed, 12 Aug 2015 14:45:08 +0000 (10:45 -0400)
commit73746bf94f0433cf96489c3e0c8df226664d395a
treed8f6b8e5039bcc5d3c6beb9d1cee02b4b955071d
parent7e84f149e8194e93b109617843e061720ee1930d
LVM Thin Provisioning auto-detect

Add the ability to set lvm_type=auto, which will
enable thin provisioning if the system supports it,
and the configured volume group either:
a) has a pool LV with the expected name or
b) has no LVs

This, along with thin-provisioning accounting, will
give a path to move toward thin LVM as the default.

DocImpact: new value 'auto' for option 'lvm_type'

Partial-Bug: #1472803

Change-Id: Idfc1cd749bfd7aec659ab8e80629cc506cd9797a
cinder/tests/unit/test_volume.py
cinder/volume/drivers/lvm.py