GlusterFS: Synchronize additional operations
GlusterFS: Synchronize additional operations

create_cloned_volume() and copy_volume_to_image() should also be
locked against other driver operations to prevent collisions
from concurrent updates of snapshot metadata or volume file data.

Closes-Bug: #1267983

Change-Id: Idd6158bfbe4dc049c33fa58b40d3d570fc244d01

Hybrid-Cloud/cinder,apporc/cinder,scottdangelo/RemoveVolumeMangerLocks,eharney/cinder,abusse/cinder,abusse/cinder,winndows/cinder,leilihh/cinder,spring-week-topos/cinder-week,takeshineshiro/cinder,nexusriot/cinder,j-griffith/cinder,winndows/cinder,JioCloud/cinder,redhat-openstack/cinder,CloudServer/cinder,phenoxim/cinder,dims/cinder,tlakshman26/cinder-https-changes,scality/cinder,NetApp/cinder,blueboxgroup/cinder,openstack/cinder,github-borat/cinder,Datera/cinder,nikesh-mahalka/cinder,github-borat/cinder,Accelerite/cinder,phenoxim/cinder,spring-week-topos/cinder-week,cloudbase/cinder,Nexenta/cinder,rakeshmi/cinder,NeCTAR-RC/cinder,Akrog/cinder,saeki-masaki/cinder,apporc/cinder,ge0rgi/cinder,Nexenta/cinder,alex8866/cinder,Paul-Ezell/cinder-1,rakeshmi/cinder,leilihh/cinder,Thingee/cinder,potsmaster/cinder,Thingee/cinder,bswartz/cinder,petrutlucian94/cinder,petrutlucian94/cinder,Hybrid-Cloud/cinder,saeki-masaki/cinder,julianwang/cinder,hguemar/cinder,CloudServer/cinder,Akrog/cinder,blueboxgroup/cinder,tlakshman26/cinder-new-branch,tlakshman26/cinder-bug-fix-volume-conversion-full,mahak/cinder,scottdangelo/RemoveVolumeMangerLocks,julianwang/cinder,nexusriot/cinder,mahak/cinder,duhzecca/cinder,redhat-openstack/cinder,takeshineshiro/cinder,nikesh-mahalka/cinder,Paul-Ezell/cinder-1,sasukeh/cinder,eharney/cinder,Accelerite/cinder,scality/cinder,openstack/cinder,manojhirway/ExistingImagesOnNFS,j-griffith/cinder,hguemar/cinder,NetApp/cinder,dims/cinder,tlakshman26/cinder-new-branch,tlakshman26/cinder-bug-fix-volume-conversion-full,Thingee/cinder,manojhirway/ExistingImagesOnNFS,alex8866/cinder,tlakshman26/cinder-https-changes,NeCTAR-RC/cinder,sasukeh/cinder,cloudbase/cinder,potsmaster/cinder,bswartz/cinder,JioCloud/cinder,Datera/cinder,duhzecca/cinder