Change in ovirt-engine[master]: api: DisksResource - initial size support on add disk

From Liron Aravot <laravot@redhat.com>:
Liron Aravot 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@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: Tal Nisan: Looks good to me, approved Juan Hernandez: Looks good to me, but someone else must approve Jenkins CI: Passed CI tests Liron Aravot: Verified -- To view, visit https://gerrit.ovirt.org/69519 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I463c46a0072076fb0db8ba78a3b587ca34868771 Gerrit-PatchSet: 8 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Liron Aravot <laravot@redhat.com> Gerrit-Reviewer: Daniel Erez <derez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Liron Aravot <laravot@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review