Maor Lipchuk has posted comments on this change.

Change subject: core: Use allow snapshot attribute on disk update.
......................................................................


Patch Set 3: (5 inline comments)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVmDiskCommand.java
Line 32:     private final Disk _oldDisk;
More for declareative issues,
Most of the forums support doing so, and it should not do any hurm.
If you think its confusing, I don't mind to remove it

Line 152:                 return false;
Its not relevant, since the command will already rollback.

For better reading the code I will set the "garbage" at the end of the if.

Line 154:         } else if (isDiskShareable && !isDiskUpdatedToShareable) {
Correct, will change.
Thanks

Line 157:             // If disk is not floating, then update its vm snapshot 
id to the active VM snapshot.
Agreed

Line 166:         // Check if VM is not during snapshot.
Changed

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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib4488ad0d983854483aee5520ae2a233c96bfdb4
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Michael Kublin <mkub...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to