Francesco Romani has submitted this change and it was merged. Change subject: sampling: fix semaphore misusing ......................................................................
sampling: fix semaphore misusing We should release the internal _sampling semaphore only if we acquired it succesfully. Otherwise, if a previous call was stuck, we violate the contract of the semaphore. Change-Id: I9b67cc4efe70b5d2ec8838ace6dfb16648528c46 Bug-Url: https://bugzilla.redhat.com/1250839 Backport-To: 3.6 Signed-off-by: Francesco Romani <from...@redhat.com> Reviewed-on: https://gerrit.ovirt.org/48332 Reviewed-by: Dan Kenigsberg <dan...@redhat.com> Continuous-Integration: Dan Kenigsberg <dan...@redhat.com> Reviewed-on: https://gerrit.ovirt.org/48348 Continuous-Integration: Jenkins CI --- M vdsm/virt/sampling.py 1 file changed, 4 insertions(+), 3 deletions(-) Approvals: Jenkins CI: Passed CI tests Dan Kenigsberg: Looks good to me, approved Francesco Romani: Verified -- To view, visit https://gerrit.ovirt.org/48348 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9b67cc4efe70b5d2ec8838ace6dfb16648528c46 Gerrit-PatchSet: 3 Gerrit-Project: vdsm Gerrit-Branch: ovirt-3.6 Gerrit-Owner: Francesco Romani <from...@redhat.com> Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com> Gerrit-Reviewer: Francesco Romani <from...@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: automat...@ovirt.org _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches