Ayal Baron has posted comments on this change.
Change subject: One shot prepare.
......................................................................
Patch Set 11:
(2 comments)
....................................................
File vdsm/storage/blockSD.py
Line 1027: def getAllRemnants(self):
Line 1028: vols, rems = self.getAllVolumesImages()
Line 1029: return rems
Line 1030:
Line 1031: def linkRunImage(self, srcImgPath, imgUUID, volUUIDs):
s/linkRunImage/createImageLinks/
Line 1032: """
Line 1033: Creates a compatiblity layer for vdsm and qemu-img use.
Line 1034:
Line 1035: srcImgPath: Dir where the image volumes are.
Line 1029: return rems
Line 1030:
Line 1031: def linkRunImage(self, srcImgPath, imgUUID, volUUIDs):
Line 1032: """
Line 1033: Creates a compatiblity layer for vdsm and qemu-img use.
s/.*/qcow chain is build by reading each qcow header and reading the path to the parent.
When creating the qcow layer, we pass a relative path which allows us to build a directory
with links to all volumes in the chain anywhere we want. This method creates a directory
with the image uuid under /var/run/vdsm and creates sym links to all the volumes in the
chain/
Line 1034:
Line 1035: srcImgPath: Dir where the image volumes are.
Line 1036: """
Line 1037: sdRunDir = os.path.join("/var/run/vdsm/storage",
self.sdUUID)
--
To view, visit
http://gerrit.ovirt.org/4220
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Id47db9c53199385dd5d08586e4782ea23885eb72
Gerrit-PatchSet: 11
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Eduardo <ewarszaw(a)redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Eduardo <ewarszaw(a)redhat.com>
Gerrit-Reviewer: Elad Ben Aharon <eladba1990(a)gmail.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce(a)redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett(a)redhat.com>
Gerrit-Reviewer: Haim Ateya <hateya(a)redhat.com>
Gerrit-Reviewer: Igor Lvovsky <ilvovsky(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: Yeela Kaplan <ykaplan(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes