]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Returns thin pool free space calculated from actual usage
authorGiulio Fidente <gfidente@redhat.com>
Tue, 3 Dec 2013 12:44:20 +0000 (13:44 +0100)
committerGiulio Fidente <gfidente@redhat.com>
Fri, 6 Dec 2013 00:09:53 +0000 (01:09 +0100)
commit1679acd53d1f0c330edf583afe8b347a7304499c
treea55eee2b3042f1f0d8042e4ed0ddd1b67c39f188
parentd72914f739b1467ad849dd47fddd321965fed928
Returns thin pool free space calculated from actual usage

This change adds a hidden method which calculates the thin
pool free space from the data_percent LVM options and reports it
accordingly in _update_volume_stats()

Change-Id: Id6a69644505ca10811db458ea90ed10f643054b2
Closes-Bug: 1249782
cinder/brick/local_dev/lvm.py
cinder/tests/brick/test_brick_lvm.py
cinder/volume/drivers/lvm.py