diff --git a/os_brick/initiator/connector.py b/os_brick/initiator/connector.py index 55d6af239..3187be178 100644 --- a/os_brick/initiator/connector.py +++ b/os_brick/initiator/connector.py @@ -2508,6 +2508,7 @@ class ScaleIOConnector(InitiatorConnector): 'path': self.volume_path} return device_info + @lockutils.synchronized('scaleio', 'scaleio-') def connect_volume(self, connection_properties): """Connect the volume. @@ -2636,6 +2637,7 @@ class ScaleIOConnector(InitiatorConnector): return device_info + @lockutils.synchronized('scaleio', 'scaleio-') def disconnect_volume(self, connection_properties, device_info): """Disconnect the ScaleIO volume.