Change in vdsm[master]: Fix block volume atomicity creation issue.

danken at redhat.com danken at redhat.com
Tue Dec 4 14:27:59 UTC 2012


Dan Kenigsberg has submitted this change and it was merged.

Change subject: Fix block volume atomicity creation issue.
......................................................................


Fix block volume atomicity creation issue.

BlockVolume creation is a 2 step process where first an LV is
created and then tags are added to it. If another host refreshes
it's cache between the 2 commands it will have an LV with partial
data on it. To solve this issue, we add an initial tag to the
lvcreate command so that any other host would be able to identify
this volume as incomplete and ignore it.
Special LVs still have not MD tags.

Bug-uri: https://bugzilla.redhat.com/show_bug.cgi?id=876558

Change-Id: I40cd67e563935de663d938cbc1bc9cf152802448
Signed-off-by: Eduardo <ewarszaw at redhat.com>
Reviewed-on: https://gerrit.eng.lab.tlv.redhat.com/3299
Reviewed-by: Ayal Baron <abaron at redhat.com>
Tested-by: Haim Ateya <hateya at redhat.com>
---
M vdsm/storage/blockVolume.py
1 file changed, 33 insertions(+), 16 deletions(-)

Approvals:
  Dan Kenigsberg: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I40cd67e563935de663d938cbc1bc9cf152802448
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Eduardo <ewarszaw 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: Haim Ateya <hateya at redhat.com>
Gerrit-Reviewer: Shu Ming <shuming at linux.vnet.ibm.com>


More information about the vdsm-patches mailing list