Yaniv Bronhaim has posted comments on this change.

Change subject: Using startCmd func for running async execution
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.ovirt.org/#/c/60237/1/lib/vdsm/commands.py
File lib/vdsm/commands.py:

Line 46:             resetCpuAffinity=True):
Line 47:     """
Line 48:     Duplication of startCmd method without the use of deathSignal and 
sync
Line 49:     parameters. Using simple_exec_cmd will execute the command by popen
Line 50:     in sync to the call and return outputs.
> We cannot duplicate code like this. We need to extract the common parts to 
start can't be done similar for both start and run - one uses popen without 
deathsignal the other cpopen. so its quite redundant to have common logic now
Line 51: 
Line 52:     This is partial work to keep the usage of asyncProc in v2v and
Line 53:     imageSharing.
Line 54:     """


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Id38507a04a124918f3865cf011bbf5adc7bc31d5
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybron...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybron...@redhat.com>
Gerrit-Reviewer: gerrit-hooks <automat...@ovirt.org>
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org

Reply via email to