]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
SMBFS: Lock on a per-volume basis
authorAlessandro Pilotti <apilotti@cloudbasesolutions.com>
Wed, 1 Apr 2015 17:57:14 +0000 (20:57 +0300)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 16 Apr 2015 10:51:43 +0000 (13:51 +0300)
commitacf19befe59614d15b89ea4be1217de2d1712f3b
tree66afca7026a27287fcd19f4045580401a56bfc1d
parente7fdd10da681187b9d0d3415327017a616afce7b
SMBFS: Lock on a per-volume basis

This allows operations that do not conflict with each
other (i.e. are on different volumes) to run concurrently.
The prior locking scheme was too coarse and essentially
made the driver single-threaded.

This patch moves the implementation of the GlusterFS driver locking
scheme to the RemoteFS base driver so that other similar volume
drivers can use it.

Closes-Bug: #1439352
Change-Id: I37be14e7525406e0ad568f6228c1303998c5235f
cinder/tests/test_remotefs.py
cinder/volume/drivers/glusterfs.py
cinder/volume/drivers/remotefs.py
cinder/volume/drivers/smbfs.py