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

tnisan at redhat.com tnisan at redhat.com
Mon Jan 11 15:26:23 UTC 2016


Tal Nisan 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:
  Tal Nisan: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Amit Aviram: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib417215b2db6e0ee5ae3acad17b7dcf77b175cf6
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6.2
Gerrit-Owner: Amit Aviram <aaviram at redhat.com>
Gerrit-Reviewer: Amit Aviram <aaviram at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list