OpenStack Block Storage (Cinder)
671b02b504
Currently we have 2 hashlib calls withing the ChunkedBackupDriver, one to calculate the MD5 of the chunk and another to calculate the SHA256 of the blocks within each chunk. This patch improve interactions between cinder and the hashlib library method calls by making sure MD5 and SHA256 related calls are execute in a native thread to improve context switching responsiveness within eventlet. The MD5 of a 1GB chunk could take around 4 seconds, so the overhead of creating a native thread is acceptable, and for the SHA256 instead of creating a thread for each call we create a single thread to do the calculations of all the blocks, thus making it cost effective. Current code slices the data into blocks, which means that the data is being copied, but this has now been switched to a memoryview object to take advantage of the buffer protocol so copying of data is no longer necesary. Change-Id: Ifb65b8008f30bc9cc4b6cd9b867a726ec4ed4707 |
||
---|---|---|
api-ref/source | ||
cinder | ||
contrib/block-box | ||
doc | ||
etc/cinder | ||
playbooks/legacy/cinder-tempest-dsvm-lvm-lio-barbican | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
.zuul.yaml | ||
babel.cfg | ||
bindep.txt | ||
CONTRIBUTING.rst | ||
driver-requirements.txt | ||
HACKING.rst | ||
LICENSE | ||
pylintrc | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Team and repository tags
CINDER
You have come across a storage service for an open cloud computing service. It has identified itself as Cinder. It was abstracted from the Nova project.
- Wiki: https://wiki.openstack.org/Cinder
- Developer docs: https://docs.openstack.org/cinder/latest/
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
For developer information please see HACKING.rst
You can raise bugs here https://bugs.launchpad.net/cinder
Python client
https://git.openstack.org/cgit/openstack/python-cinderclient