Change in ovirt-engine[master]: core:Support move of shareable disk

mlipchuk at redhat.com mlipchuk at redhat.com
Thu May 24 08:14:32 UTC 2012


Maor Lipchuk has submitted this change and it was merged.

Change subject: core:Support move of shareable disk
......................................................................


core:Support move of shareable disk

Support shareable disk move operation.
Since all_disks list will return multi columns of VMs, it needed to be
considered in the CDA validation.
As part of the shareable disk, the locking mechanism has been changed
with the following changes:
 1. Change the lock to log all the VMs which has shared lock
 2. Use lock in the end of the CDA

Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
Change-Id: I8c59562fdd45cea4628c1e40e65713581647f86f
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MoveOrCopyDiskCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MoveOrCopyImageGroupCommand.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/MoveOrCopyDiskCommandTest.java
3 files changed, 64 insertions(+), 16 deletions(-)

Approvals:
  Maor Lipchuk: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8c59562fdd45cea4628c1e40e65713581647f86f
Gerrit-PatchSet: 14
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>



More information about the Engine-commits mailing list