Change in vdsm[master]: volume: save the correct size during creation

danken at redhat.com danken at redhat.com
Mon Oct 29 14:46:48 UTC 2012


Dan Kenigsberg has submitted this change and it was merged.

Change subject: volume: save the correct size during creation
......................................................................


volume: save the correct size during creation

As the comment in the patch states: when the volume format is raw what
the guest sees is the apparent size of the file/device therefore if the
requested size doesn't match the apparent size (eg: extends granularity
in LVM) we need to update the size value so that the metadata reflects
the correct state.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=868272
Signed-off-by: Federico Simoncelli <fsimonce at redhat.com>
Change-Id: I155b93e156fd80788b2f97bf69d8db5452ab64d3
---
M vdsm/storage/volume.py
1 file changed, 19 insertions(+), 0 deletions(-)

Approvals:
  Jakub Libosvar: Verified
  Ayal Baron: Looks good to me, approved
  Adam Litke: Looks good to me, but someone else must approve
  Dan Kenigsberg: 
  Igor Lvovsky: Looks good to me, but someone else must approve


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I155b93e156fd80788b2f97bf69d8db5452ab64d3
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Adam Litke <agl at us.ibm.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Igor Lvovsky <ilvovsky at redhat.com>
Gerrit-Reviewer: Jakub Libosvar <libosvar at redhat.com>
Gerrit-Reviewer: Shu Ming <shuming at linux.vnet.ibm.com>


More information about the vdsm-patches mailing list