Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes 3par driver methods that were double locking
There were many cases where the 3par drivers(FC and iSCSI) were double locking, e.g. we were locking in the individual driver and in ‘common’. This patch set removes all the locks in ‘common’ except the one on ‘create_cloned_volume’. The methods ’_get_volume_state’ and ‘_copy_volume’ are only called in ‘create_cloned_volume’, so those locks were removed as well. All the other methods in ‘common’ are only called by the driver which provide the lock, except ‘create_volume’ which is also called by ‘create_cloned_volume’. Change-Id: I660fbd04824bd2837e06480c8298ea5a709fc82a Fixes: bug 1175791
- Loading branch information