]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Pass RBD order to clone call
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 8 Mar 2016 15:43:15 +0000 (16:43 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 9 Mar 2016 16:37:59 +0000 (17:37 +0100)
commitac9b82c89e787f0dc74b5712a1542ac77b641e69
tree367a1cd4164439cc06232753a7a8eaaf98bcdbd4
parentd58c50474c103a54c7655870a8c1652e2e1ed7a6
Pass RBD order to clone call

For cloning of a RBD the rbd_store_chunk_size information from
the cinder.conf should be used to calculate and pass the correct
order information to the clone() call of the rbd library.

Added new test to check for correctly from rbd_store_chunk_size
calculated order while cloning.

Closes-Bug: #1489134

Change-Id: Ic5714d3e0d6961bce6ff588006661618130dca07
Co-Authored-By: Logan V <logan2211@gmail.com>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
cinder/tests/unit/test_rbd.py
cinder/volume/drivers/rbd.py