]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
ScaleIO extend volume round up capacity
authorXing Yang <xing.yang@emc.com>
Mon, 16 Nov 2015 04:50:59 +0000 (23:50 -0500)
committerXing Yang <xing.yang@emc.com>
Mon, 16 Nov 2015 09:21:03 +0000 (04:21 -0500)
commit549e73af40799110e20bd8f20b348eccaeb7952d
tree408283e5bd9482c05f9394f4d5456fbf24e35aeb
parentcdc645e2f9da5dccd7d05eb157029e2542ac18db
ScaleIO extend volume round up capacity

ScaleIO only supports volumes with a granularity of 8 GB.
In extend volume, we need to round up the volume to the
nearest size that is a granularity of 8 GBs.

Change-Id: I1d1340fa6d31f89a0c166e66c7c84583dbfe5102
Closes-Bug: #1519613
cinder/tests/unit/volume/drivers/emc/scaleio/test_extend_volume.py
cinder/volume/drivers/emc/scaleio.py