commit dd50f6be5a5b1847354790e2fe1f426185e4abff
Author: Jose Castro Leon <email address hidden>
Date: Tue Apr 7 11:24:00 2020 +0200
Remove provisioned calculation on non thin provision backends
On those backends, there is no need to calculate provisioned_capacity_gb
as it is not used during the scheduling. This calculation was not
scaling properly on big environments as it implies many database
queries.
Closes-Bug: #1869712
Change-Id: Icb8947991723a2a1cc334a72276a35cf50fc1b7d
(cherry picked from commit 2c30fed486320ec5ba88f21ae3df14b14da6eb35)
(cherry picked from commit 89aa8939aa53e52254e4f98da0d80a76ef12b9e7)
(cherry picked from commit 920cd8e6df8a9b553a77a3a029c9d282c73e1634)
(cherry picked from commit 49deb1ed312ad9b89e573d84fedf31b0e7894dd2)
Reviewed: https:/ /review. opendev. org/723656 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=dd50f6be5a5 b1847354790e2fe 1f426185e4abff
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit dd50f6be5a5b184 7354790e2fe1f42 6185e4abff
Author: Jose Castro Leon <email address hidden>
Date: Tue Apr 7 11:24:00 2020 +0200
Remove provisioned calculation on non thin provision backends
On those backends, there is no need to calculate provisioned_ capacity_ gb
as it is not used during the scheduling. This calculation was not
scaling properly on big environments as it implies many database
queries.
Closes-Bug: #1869712
Change-Id: Icb8947991723a2 a1cc334a72276a3 5cf50fc1b7d 5ba88f21ae3df14 b14da6eb35) 254e4f98da0d80a 76ef12b9e7) 53a77a3a029c9d2 82c73e1634) 89e573d84fedf31 b0e7894dd2)
(cherry picked from commit 2c30fed486320ec
(cherry picked from commit 89aa8939aa53e52
(cherry picked from commit 920cd8e6df8a9b5
(cherry picked from commit 49deb1ed312ad9b