cinder/cinder/volume/flows
Alan Bishop bc05efc79a Reduce scope of the lock for image volume cache
Refactor the code that creates a volume from a downloaded glance image
to minimize the scope of the lock that prevents multiple entries in the
volume image cache. Now the lock serializes only the portion of the
code that causes the cache entry to be created. Locking is minimized
when the volume is already cached, or when the volume won't be cached.

Closes-Bug: #1758414
Change-Id: I547fb4bcdd4783225b8ca96d157c61ca3bcf4ef4
(cherry picked from commit a351cd01c0)
2018-03-28 12:28:55 +00:00
..
api Fix create from snapshot and source volume 2017-12-07 22:23:55 -05:00
manager Reduce scope of the lock for image volume cache 2018-03-28 12:28:55 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-26 22:45:17 -06:00
common.py Enable H904 check 2017-07-05 21:27:05 -04:00