When the shared_targets concept was introduced it defaulted to True for
any driver not reporting that capability. This meant that the
attachment of all volumes would be serialized even if they have no
concept of a "shared target".
This is caused because that feature was intended for iSCSI connections,
but was applied to all connection types, introducing an unnecessary
bottleneck on drivers like RBD or FC.
This patch makes sure to check that the storage_protocol is also iSCSI.
Reviewed: https:/ /review. openstack. org/613567 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=043ada94eb3 5c6210367857714 840188febf75a4
Committed: https:/
Submitter: Zuul
Branch: master
commit 043ada94eb35c62 103678577148401 88febf75a4
Author: Gorka Eguileor <email address hidden>
Date: Fri Oct 26 14:06:58 2018 +0200
Fix non iSCSI attach serialization
When the shared_targets concept was introduced it defaulted to True for
any driver not reporting that capability. This meant that the
attachment of all volumes would be serialized even if they have no
concept of a "shared target".
This is caused because that feature was intended for iSCSI connections,
but was applied to all connection types, introducing an unnecessary
bottleneck on drivers like RBD or FC.
This patch makes sure to check that the storage_protocol is also iSCSI.
Closes-Bug: #1800136 941ddd3454477d8 9fe5a13d37f
Change-Id: I2805e8acf560cb