![]() When detaching a multipath volume in an environment where there are many attached volumes, excessive multipath calls are generated and it takes too much time. This issue is due to the fact that a multipath -ll call against many multipath devices takes a few seconds. When detaching a volume, _disconnect_volume_multipath_iscsi() calls 'multipath -ll <each iscsi device>' against every iscsi devices. This behavior is to identify the IQNs used by multipath device, however the IQNs are extracted from one 'multipath -ll' call without massive 'multipath -ll <each iscsi device>' calls. This patch changes the behavior of identifying IQNs used by multipath device: 1. add an utility to identify IQNs by using multipath device map (/dev/sdX => /dev/mapper/XXX) generated by 'multipath -ll'. 2. replace the current nested for loop to identify the IQNs with the utility. (Ported from I77e6eda950726d7ee9a0d92882d4501e70a0d8f8) Change-Id: I1e5e9eba58a349509e80654ab3058c4ff5d00c0d Co-Authored-By: Keiichi KII <k-keiichi@bx.jp.nec.com> Closes-Bug: #1456480 |
||
---|---|---|
doc/source | ||
os_brick | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
openstack-common.conf | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
brick
OpenStack Cinder brick library for managing local volume attaches
Features
- Discovery of volumes being attached to a host for many transport protocols.
- Removal of volumes from a host.
- For any other imformation, refer to the parent project, Cinder:
- License: Apache License, Version 2.0
- Source: http://git.openstack.org/cgit/openstack/os-brick
- Bugs: http://bugs.launchpad.net/os-brick