Eduardo has uploaded a new change for review. Change subject: Don't re-produce the same SD again. ......................................................................
Don't re-produce the same SD again. Anyway a similar SD is expected. Change-Id: I7f5c267c8afa961bd5cde5e2b67d598a1fb5e486 Signed-off-by: Eduardo <ewars...@redhat.com> --- M vdsm/storage/sp.py 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/01/18201/1 diff --git a/vdsm/storage/sp.py b/vdsm/storage/sp.py index 3f3c1bf..6694fe0 100644 --- a/vdsm/storage/sp.py +++ b/vdsm/storage/sp.py @@ -2007,8 +2007,9 @@ with rmanager.acquireResource(imageResourcesNamespace, imgUUID, rm.LockType.exclusive): + dom = sdCache.produce(sdUUID) for volUUID in volumes: - sdCache.produce(sdUUID).produceVolume(imgUUID, volUUID).delete( + dom.produceVolume(imgUUID, volUUID).delete( postZero=postZero, force=force) def setMaxHostID(self, spUUID, maxID): -- To view, visit http://gerrit.ovirt.org/18201 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7f5c267c8afa961bd5cde5e2b67d598a1fb5e486 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Eduardo <ewars...@redhat.com> _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches