]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Hide lock_prefix argument using synchronized_with_prefix()
authorZhongyue Luo <zhongyue.nah@intel.com>
Tue, 14 May 2013 09:30:00 +0000 (17:30 +0800)
committerZhongyue Luo <zhongyue.nah@intel.com>
Tue, 14 May 2013 11:53:21 +0000 (19:53 +0800)
commit197fbf154aafaf70363f5f1377a9495d0559436b
treef991bb3e110d1111cce3b706759f2a714a2ab4e0
parentc67566893114ebfad8d803531e22584b2b9a4bdc
Hide lock_prefix argument using synchronized_with_prefix()

The lockfile module has a new convenience API which sets the lockfile prefix
Using this API, the prefix is not required everytime synchronized is used.

Change-Id: I033fa1d2ed071651609ac2be0a5a16eb3fda6c33
cinder/openstack/common/lockutils.py
cinder/utils.py
cinder/volume/drivers/netapp/iscsi.py
cinder/volume/drivers/san/hp/hp_3par_common.py
cinder/volume/drivers/san/hp/hp_3par_fc.py
cinder/volume/drivers/san/hp/hp_3par_iscsi.py
cinder/volume/manager.py