Omer Frenkel has submitted this change and it was merged.

Change subject: engine:Add quota validation for crateAllSnapshot
......................................................................


engine:Add quota validation for crateAllSnapshot

In the current patch, I added support for validating quota when
creating snapshot
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
update the delta map with the storage resources demended for the
operation about to be executed.
After the operation finishes, and the VM is running,
The delta size added before is being removed.

Change-Id: I72714e6aa0e5ff034c1192297743dbe79c0d351b
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateAllSnapshotsFromVmCommand.java
1 file changed, 30 insertions(+), 0 deletions(-)

Approvals:
  Omer Frenkel: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/2105
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I72714e6aa0e5ff034c1192297743dbe79c0d351b
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

Reply via email to