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(a)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(a)redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>