]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
NetApp ONTAP: Fix extending volume beyond lun geometry
authorAlex Meade <mr.alex.meade@gmail.com>
Fri, 8 Jan 2016 18:52:22 +0000 (13:52 -0500)
committerAlex Meade <mr.alex.meade@gmail.com>
Thu, 14 Jan 2016 19:24:53 +0000 (19:24 +0000)
commit85b0fbb67b7a22a073cc5776b3980141eb8670ee
tree04366a733aaa77bce1ad91382620d193239e5d9d
parent40a6fff6d408f2ef0317c08fb165cc75a92c380a
NetApp ONTAP: Fix extending volume beyond lun geometry

In the case where a LUN is extended beyond it's supported geometry,
a new LUN must be created and only the used blocks should be copied
to the new LUN. Currently, we do not pass the block count, source
block, and destination block information. This causes the extend to
fail.

Closes-Bug: 1532836
Change-Id: I31d93ecfeee9884d6796c66acfbe556363130c44
cinder/tests/unit/volume/drivers/netapp/dataontap/test_block_7mode.py
cinder/tests/unit/volume/drivers/netapp/dataontap/test_block_cmode.py
cinder/volume/drivers/netapp/dataontap/block_7mode.py
cinder/volume/drivers/netapp/dataontap/block_cmode.py