Change in ovirt-engine[master]: core: Quota storage calculating fix for floating disks.

amureini at redhat.com amureini at redhat.com
Thu Nov 12 08:32:19 UTC 2015


Allon Mureinik has submitted this change and it was merged.

Change subject: core: Quota storage calculating fix for floating disks.
......................................................................


core: Quota storage calculating fix for floating disks.

While calculating the quota usage in CalculateStorageUsage psql function,
the calculated "actual size"- which is supposed to include disks
that are not active- DID calculate floating disks in that state.

This patch drops any consideration regarding whether a disk is connected
to a VM or not while calculating the quota usage of inactive disks.

Change-Id: Ib417215b2db6e0ee5ae3acad17b7dcf77b175cf6
Bug-Url: https://bugzilla.redhat.com/1225484
Signed-off-by: Amit Aviram <aaviram at redhat.com>
---
M packaging/dbscripts/create_functions.sql
1 file changed, 1 insertion(+), 3 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Amit Aviram: Verified
  Allon Mureinik: Looks good to me, approved
  Maor Lipchuk: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/48273
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib417215b2db6e0ee5ae3acad17b7dcf77b175cf6
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Amit Aviram <aaviram at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Amit Aviram <aaviram at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list