]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix extent size issue when creating thin pool.
authorJohn Griffith <john.griffith@solidfire.com>
Tue, 25 Jun 2013 22:52:21 +0000 (16:52 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Sat, 6 Jul 2013 15:37:41 +0000 (09:37 -0600)
commit7429cc45dc6b90ee0b4b90eff7b231e074ba9e9d
tree9ed8dd9ba474abf0e92b78ebebf115ec3626a99d
parentfaffe83d88276633fb701996b0e44f34b7a2daa0
Fix extent size issue when creating thin pool.

The LVM create thin pool rounds up extents, this
change rounds the free space down to an int to avoid
this issue and also cleans up some comments and
code around how PV's are set up and used.

Change-Id: I725aa819c21c38f464595d0146d6640ecd1e6440
cinder/brick/local_dev/lvm.py
cinder/tests/brick/test_brick_lvm.py