Change in ovirt-engine[ovirt-engine-4.0]: api: DisksResource - initial size support on add disk
Code Review
gerrit at ovirt.org
Sun Jan 8 19:03:14 UTC 2017
>From Tal Nisan <tnisan at redhat.com>:
Tal Nisan has submitted this change and it was merged.
Change subject: api: DisksResource - initial size support on add disk
......................................................................
api: DisksResource - initial size support on add disk
When a sparse image disk is created on block domain it's created with
initial allocation and being extended as needed by the spm (when it's
plugged to a running vm).
Speicifying inital size on the disk creation is useful when there's a
need to create the disk with initial allocated different than the
default value (1gb) for various reasons.
An example would be the image upload, when the data is uploaded to disk
extensions aren't supported - so the disk needs to be created with
initial size that is big enough to contain all the uploaded data.
Change-Id: I463c46a0072076fb0db8ba78a3b587ca34868771
Bug-Url: https://bugzilla.redhat.com/1400296
Signed-off-by: Liron Aravot <laravot at redhat.com>
---
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/DiskMapper.java
M backend/manager/modules/restapi/types/src/test/java/org/ovirt/engine/api/restapi/types/DiskMapperTest.java
2 files changed, 21 insertions(+), 0 deletions(-)
Approvals:
Juan Hernandez: Looks good to me, approved
Jenkins CI: Passed CI tests
Liron Aravot: Verified
--
To view, visit https://gerrit.ovirt.org/69647
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I463c46a0072076fb0db8ba78a3b587ca34868771
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list