Change in vdsm[master]: Relink template hard links to meta and lease files

danken at redhat.com danken at redhat.com
Wed Apr 3 12:52:30 UTC 2013


Dan Kenigsberg has submitted this change and it was merged.

Change subject: Relink template hard links to meta and lease files
......................................................................


Relink template hard links to meta and lease files

In file based domains every image that is based on a
template contains a hard link to the template volumes.

Since an export domain may contain images without the
backing template, when copying the template to the export
domain we need to relink the derived images to it to be able
to later on collapse the chain on import
(without qemu-img crashing).
In addition, in case we're importing a template to override a
corrupted template we also need to relink.

Change-Id: Idce0f3f1812fdf45efeeeffcccb7dc22b3b0d0f0
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=864073
Signed-off-by: Yeela Kaplan <ykaplan at redhat.com>
---
M vdsm/storage/fileSD.py
M vdsm/storage/fileVolume.py
M vdsm/storage/image.py
M vdsm/storage/sd.py
4 files changed, 45 insertions(+), 40 deletions(-)

Approvals:
  Ayal Baron: Looks good to me, approved
  Yeela Kaplan: Verified
  Federico Simoncelli: Looks good to me, but someone else must approve
  Dan Kenigsberg: 


--
To view, visit http://gerrit.ovirt.org/12837
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Idce0f3f1812fdf45efeeeffcccb7dc22b3b0d0f0
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <ykaplan at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Eduardo <ewarszaw at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Yeela Kaplan <ykaplan at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list