]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
GlusterFS: Synchronize operations that manipulate qcow2 data
authorEric Harney <eharney@redhat.com>
Thu, 14 Nov 2013 20:51:15 +0000 (15:51 -0500)
committerEric Harney <eharney@redhat.com>
Thu, 14 Nov 2013 20:59:21 +0000 (15:59 -0500)
commit8a1fd8889170c289910944db016a4206fe5e1e32
tree29dc52e440251754640d1ae6ad4fd7d41a125973
parentf4dff4d337466f0b63a60f978acaf29d861a6b4b
GlusterFS: Synchronize operations that manipulate qcow2 data

Operations that modify qcow2 chains or the GlusterFS driver's
snapshot info file should use locking so that more than one thread
cannot run these operations at the same time.

Without this it is possible for multiple threads to concurrently
modify snapshot information resulting in an incomplete snapshot
chain.

Closes-Bug: #1251425

Change-Id: I93c6ffecd9aec38560cb19085243390b9120b363
cinder/volume/drivers/glusterfs.py