Reviewed: https://review.openstack.org/68789 Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=e9722f09dfd4b58e40afbf285ab9a7738a641dca Submitter: Jenkins Branch: master
commit e9722f09dfd4b58e40afbf285ab9a7738a641dca Author: Eric Harney <email address hidden> Date: Thu Jan 23 11:57:17 2014 -0500
GlusterFS: Fix deadlock in volume clone
The create_cloned_volume path could deadlock due to create_cloned_volume and create/delete_snapshot using the same lock for synchronization.
Refactor the calls to create/delete snapshot to call the inner method which does not use a lock.
Introduced by "06999f6 GlusterFS: Synchronize additional op..."
Related-Bug: 1267983 Closes-Bug: 1272092
Change-Id: I84ca34b201c10644faa047f1c9274c14bcdd0359
Reviewed: https:/ /review. openstack. org/68789 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=e9722f09dfd 4b58e40afbf285a b9a7738a641dca
Committed: https:/
Submitter: Jenkins
Branch: master
commit e9722f09dfd4b58 e40afbf285ab9a7 738a641dca
Author: Eric Harney <email address hidden>
Date: Thu Jan 23 11:57:17 2014 -0500
GlusterFS: Fix deadlock in volume clone
The create_ cloned_ volume path could deadlock due to cloned_ volume and create/ delete_ snapshot using the same
create_
lock for synchronization.
Refactor the calls to create/delete snapshot to call the inner
method which does not use a lock.
Introduced by "06999f6 GlusterFS: Synchronize additional op..."
Related-Bug: 1267983
Closes-Bug: 1272092
Change-Id: I84ca34b201c106 44faa047f1c9274 c14bcdd0359