Nir Soffer has posted comments on this change.

Change subject: storage: Add inplace virt-sparsify support

Patch Set 13:

File lib/vdsm/

Line 64:     :param vol_path: path to the volume
Line 65:     """
Line 66:     cmd = [_VIRTSPARSIFY.cmd, '--machine-readable', '--in-place', 
Line 67: 
Line 68:     rc, out, err = commands.execCmd(cmd, env={'LIBGUESTFS_BACKEND': 
> I've asked Richard. He is against setting this flag and asks instead, if it
Generally we should not use this flag, but in alignment scan case, after 
investing hours in debugging we did not have a choice.

If this work without the flag we should not use this flag, if it does not work, 
we don't have a choice.

To debug this, you should turn on libvirt debugging and open a bug with the 
Line 69: 
Line 70:     if rc != 0:
File vdsm/storage/sdm/api/

Line 22: 
Line 23: from vdsm import virtsparsify
Line 24: from import guarded
Line 25: 
Line 26: from .copy_data import CopyDataDivEndpoint
> I've asked Adam in e-mail about this:
The idea is to both move the code and rename the schema.

Lets see what Adam thinks about it.
Line 27: 
Line 28: from . import base
Line 29: 
Line 30: 

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I6ac2bb1fbd2acbe0fc47694d17313c6ccd01a227
Gerrit-PatchSet: 13
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Shmuel Leib Melamud <>
Gerrit-Reviewer: Adam Litke <>
Gerrit-Reviewer: Allon Mureinik <>
Gerrit-Reviewer: Francesco Romani <>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <>
Gerrit-Reviewer: Nir Soffer <>
Gerrit-Reviewer: Piotr Kliczewski <>
Gerrit-Reviewer: Shahar Havivi <>
Gerrit-Reviewer: Shmuel Leib Melamud <>
Gerrit-Reviewer: Shmuel Melamud <>
Gerrit-Reviewer: Yaniv Kaul <>
Gerrit-Reviewer: gerrit-hooks <>
Gerrit-HasComments: Yes
vdsm-patches mailing list --
To unsubscribe send an email to

Reply via email to