]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Allow NetApp iSCSI driver to sub-clone large volumes
authorAndrew Kerr <andrew.kerr@netapp.com>
Tue, 11 Mar 2014 14:28:55 +0000 (10:28 -0400)
committerAlex Meade <mr.alex.meade@gmail.com>
Wed, 19 Mar 2014 20:51:52 +0000 (16:51 -0400)
commitaa4a89eda8941bce22ead9db2dd5f7bc6ca90e04
tree0b5bfb139cdc8b22540edc1914f3a0eb2b6f4d5d
parent2ba4af4de5653bf619f2bfb12ec7564ff21fd4c0
Allow NetApp iSCSI driver to sub-clone large volumes

The NetApp zapi used during certain extend operations has several limits
imposed on it.  Each block-range provided can only be 2^24 in size, and
there can only be 32 block-ranges per zapi call.  This fix allows the
NetApp iSCSI driver to send multiple zapi calls if necessary, to allow
for extend operations on volumes of an arbitrary size.

Closes-Bug: #1288962
Change-Id: I981d22f32cb2182112fbea3ea9880d1e8c8c91ab
cinder/tests/volume/__init__.py [new file with mode: 0644]
cinder/tests/volume/drivers/__init__.py [new file with mode: 0644]
cinder/tests/volume/drivers/netapp/__init__.py [new file with mode: 0644]
cinder/tests/volume/drivers/netapp/test_iscsi.py [new file with mode: 0644]
cinder/volume/drivers/netapp/iscsi.py