Change in ovirt-engine[master]: core: moving size calc for disk copy with collapse to Images...

laravot at redhat.com laravot at redhat.com
Tue May 31 12:12:14 UTC 2016


Liron Aravot has submitted this change and it was merged.

Change subject: core: moving size calc for disk copy with collapse to ImagesHandler
......................................................................


core: moving size calc for disk copy with collapse to ImagesHandler

When creating a disk in SDM DC the engine needs to allocate enough space
so that the data copy will succeed.
This patch moves a method that contains the calculation to ImagesHandler so
that it can be reused.

Change-Id: I7d5e86c06bab82f1babee294ab072d6a75c176f9
Signed-off-by: Liron Aravot <laravot at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image/ImagesHandler.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/storage/StorageDomainValidator.java
2 files changed, 33 insertions(+), 25 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Allon Mureinik: Looks good to me, approved
  Liron Aravot: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7d5e86c06bab82f1babee294ab072d6a75c176f9
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list