Tal Nisan has uploaded a new change for review. Change subject: core: Make commited_disk_size view column show total virtual size ......................................................................
core: Make commited_disk_size view column show total virtual size In the storage views the commited_disk_size column is supposed to show the total amount of the disks virtual sizes (commited size) in practice this column shows the commited size minus the provisioned size of the disk, this was fixed to show the commited size alone as the provisioned size is shown already in used_disk_size and is not needed Change-Id: Ic16b249779add146705a4e104dd93836923fbbd4 Bug-Url: https://bugzilla.redhat.com/1025294 Signed-off-by: Tal Nisan <[email protected]> --- M packaging/dbscripts/create_functions.sql 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/30/20930/1 diff --git a/packaging/dbscripts/create_functions.sql b/packaging/dbscripts/create_functions.sql index d4bbe10..8ddaff5 100644 --- a/packaging/dbscripts/create_functions.sql +++ b/packaging/dbscripts/create_functions.sql @@ -349,7 +349,7 @@ BEGIN mult := ( SELECT - COALESCE(SUM(images_storage_domain_view.size - disk_image_dynamic.actual_size),0) + COALESCE(SUM(images_storage_domain_view.size),0) FROM images_storage_domain_view JOIN disk_image_dynamic ON ( images_storage_domain_view.image_guid = disk_image_dynamic.image_id ) WHERE -- To view, visit http://gerrit.ovirt.org/20930 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic16b249779add146705a4e104dd93836923fbbd4 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Tal Nisan <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
