Omer Frenkel has submitted this change and it was merged. Change subject: engine: Add quota validation for Add Disk to VM ......................................................................
engine: Add quota validation for Add Disk to VM In the next patch, I added support for validating quota when adding new disk. The validation assembled from several phasas, and count on a delta memory map mechanism, described in the quota manager. The validation start with the method validateQuota, which then update the delta map with the size requested to consume. After the operation finished, we remove the delta that was saved before from the delta map. Change-Id: I35f205da64ef101b4e38cd7a99ab88142a3e277b --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddDiskToVmCommand.java M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddImageFromScratchCommand.java 2 files changed, 30 insertions(+), 4 deletions(-) Approvals: Omer Frenkel: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/2101 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I35f205da64ef101b4e38cd7a99ab88142a3e277b Gerrit-PatchSet: 16 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Maor Lipchuk <[email protected]> Gerrit-Reviewer: Maor Lipchuk <[email protected]> Gerrit-Reviewer: Omer Frenkel <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
