]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove locks from LeftHand driver
authorAnthony Lee <anthony.mic.lee@hp.com>
Fri, 12 Dec 2014 19:32:15 +0000 (11:32 -0800)
committerAnthony Lee <anthony.mic.lee@hp.com>
Wed, 14 Jan 2015 14:57:49 +0000 (06:57 -0800)
commit331c40ce345968b40289a58accb129909137c4b4
tree60e535cc6ddeea319499f56f491c7044880b7429
parent29f9fa9f2a7a37231398acd442388ad328a5ec50
Remove locks from LeftHand driver

By removing synchronization locks from the LeftHand driver,
support for many simultaneous volume create/deletes and
volume attach/detachs will be added.  This is useful for high
availability environments where performance with locks in place
would be reduced.

Removing the locks requires the creation of a new LeftHand
client when a request is sent to the driver now.  This
allows requests to no longer be blocked if a request is
already in process by the driver.

This results in a performance increase for the driver and
better stability in a high availability environment.

Closes-Bug: #1395953
Change-Id: I39732d944a79bbfc597077fe0873d4cfcaace211
cinder/tests/fake_hp_lefthand_client.py
cinder/tests/test_hplefthand.py
cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py
cinder/volume/drivers/san/hp/hp_lefthand_rest_proxy.py