Reviewed: https://review.openstack.org/508885 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8f765408ffcccd8802b4ffb33806e7db15a1029f Submitter: Zuul Branch: stable/pike
commit 8f765408ffcccd8802b4ffb33806e7db15a1029f Author: He Jie Xu <email address hidden> Date: Thu Aug 10 14:49:29 2017 +0800
placement: avoid returning duplicated alloc_reqs when no sharing rp
This patch returns from the loop early where there are no sharing rps, avoiding generating duplicated requests.
Change-Id: I7c73b720f09bb2371770b1c6de537bb5527785a9 Closes-Bug: #1709788 (cherry picked from commit 2e5f293f13e8f38e8cb6b4b58bd69d04eb808b9e)
Reviewed: https:/ /review. openstack. org/508885 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=8f765408ffc ccd8802b4ffb338 06e7db15a1029f
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 8f765408ffcccd8 802b4ffb33806e7 db15a1029f
Author: He Jie Xu <email address hidden>
Date: Thu Aug 10 14:49:29 2017 +0800
placement: avoid returning duplicated alloc_reqs when no sharing rp
This patch returns from the loop early where there are no sharing
rps, avoiding generating duplicated requests.
Change-Id: I7c73b720f09bb2 371770b1c6de537 bb5527785a9 e8cb6b4b58bd69d 04eb808b9e)
Closes-Bug: #1709788
(cherry picked from commit 2e5f293f13e8f38