commit 920cd8e6df8a9b553a77a3a029c9d282c73e1634
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)
Reviewed: https:/ /review. opendev. org/720099 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=920cd8e6df8 a9b553a77a3a029 c9d282c73e1634
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 920cd8e6df8a9b5 53a77a3a029c9d2 82c73e1634
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)
(cherry picked from commit 2c30fed486320ec
(cherry picked from commit 89aa8939aa53e52