Merge "Remove the iSCSI rescan during disconnect"

This commit is contained in:
Jenkins 2015-08-17 20:07:07 +00:00 committed by Gerrit Code Review
commit bc5d18f234
1 changed files with 0 additions and 6 deletions

View File

@ -456,12 +456,6 @@ class ISCSIConnector(InitiatorConnector):
target_iqn(s) - iSCSI Qualified Name
target_lun(s) - LUN id of the volume
"""
# Moved _rescan_iscsi and _rescan_multipath
# from _disconnect_volume_multipath_iscsi to here.
# Otherwise, if we do rescan after _linuxscsi.remove_multipath_device
# but before logging out, the removed devices under /dev/disk/by-path
# will reappear after rescan.
self._rescan_iscsi()
if self.use_multipath:
self._rescan_multipath()
host_device = multipath_device = None