Dan Kenigsberg has submitted this change and it was merged.

Change subject: sparsify: integrating virt-sparsify into vdsm
......................................................................


sparsify: integrating virt-sparsify into vdsm

This patch adds virt-sparsify support in vdsm. Sparse disk images
which are being used grow in size over a period of time but still
have considerable amount of free space that may be shrunk back
using virt-sparsify utility provided by libguestfs.

The detailed expected execution flow is as follows-

* The user selects a sparse volume to run virt-sparsify on to reclaim
  free space.
* User creates a new destination volume using createVolume of the
  same virtual size as the source volume.
* User creates a snapshot of the source volume, which will be used
  as a temporary volume for virt-sparsify (--tmp prebuilt:file)
* User runs sparsify (implemented in this patch) providing as
  arguments temporary volume and destination volume.
  (source volume is just the parent of temporary volume, so user
  doesn't need to specify that)
* Once sparsify is done (pass or fail) user removes the temporary
  volume.
* User may now check and verify the destination volume, and
  optionally remove the source volume.

Change-Id: Id7bd2b4b6d45781fa27a128dd68d14b7561d0901
Signed-off-by: Utkarsh <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/28328
Reviewed-by: Federico Simoncelli <[email protected]>
Reviewed-by: Nir Soffer <[email protected]>
---
M client/vdsClient.py
M debian/vdsm-python.install
M lib/vdsm/Makefile.am
A lib/vdsm/virtsparsify.py
M vdsm.spec.in
M vdsm/API.py
M vdsm/rpc/BindingXMLRPC.py
M vdsm/rpc/vdsmapi-schema.json
M vdsm/storage/hsm.py
M vdsm/storage/image.py
M vdsm/storage/sp.py
M vdsm/storage/storage_exception.py
12 files changed, 269 insertions(+), 1 deletion(-)

Approvals:
  Nir Soffer: Looks good to me, but someone else must approve
  Federico Simoncelli: Looks good to me, approved
  Utkarsh Singh: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id7bd2b4b6d45781fa27a128dd68d14b7561d0901
Gerrit-PatchSet: 16
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Utkarsh Singh <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Piotr Kliczewski <[email protected]>
Gerrit-Reviewer: Utkarsh Singh <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to