glance_store/glance_store/_drivers
whoami-rajat f5d4699613 Add lock per share for cinder nfs mount/umount
With cinder configured as glance store and nfs as cinder backend,
if we create multiple images concurrently into the same share,
there might be race conditions.
This patch ensures a lock per export to avoid the race conditions.

This patch also introduces a reference counting mechamism for unmounting
which will unmount the share if no active thread/process is using it.

Closes-Bug: #1870289

Change-Id: I9197f64e29a0ae2e0a58186f1a70aa134f7f1db6
2020-05-01 11:35:01 +00:00
..
swift Update hacking for Python3 2020-04-02 15:26:13 +02:00
__init__.py Rename glance.store to glance_store 2014-08-28 10:09:36 +02:00
cinder.py Add lock per share for cinder nfs mount/umount 2020-05-01 11:35:01 +00:00
filesystem.py Change location metadata key 'backend' to 'store' 2019-07-19 12:42:04 -04:00
http.py Add location prefix url to store instance 2019-06-03 16:16:58 +00:00
rbd.py Change location metadata key 'backend' to 'store' 2019-07-19 12:42:04 -04:00
s3.py Update hacking for Python3 2020-04-02 15:26:13 +02:00
vmware_datastore.py Change location metadata key 'backend' to 'store' 2019-07-19 12:42:04 -04:00