]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
LVM: Fix thin provisioning and mirrors stats reporting
authorEric Harney <eharney@redhat.com>
Wed, 18 Feb 2015 16:48:23 +0000 (11:48 -0500)
committerEric Harney <eharney@redhat.com>
Wed, 18 Feb 2015 17:54:25 +0000 (12:54 -0500)
commit3d3bb11dfc95e29a5709fe1fa942b435e4b950cb
tree011bb2790c4e3bdd0fdff8414907084bff85550e
parent28adea93801b29fe129d4dad2eaa706c4d740172
LVM: Fix thin provisioning and mirrors stats reporting

This appears to do the wrong thing in the case where
both lvm_mirrors and thin prov are being used, since
the "elif...thin" block won't be hit.

Ensure thin provisioning is always reported correctly.

Change-Id: I3c89af4d86e96ded8208f140928a8f2f8e54937a
cinder/volume/drivers/lvm.py