GabrielBrascher commented on a change in pull request #3133: feature: add
libvirt / qemu io bursting
URL: https://github.com/apache/cloudstack/pull/3133#discussion_r248750471
##########
File path:
plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
##########
@@ -2390,15 +2390,40 @@ public int compare(final DiskTO arg0, final DiskTO
arg1) {
if (volumeObjectTO.getBytesReadRate() != null &&
volumeObjectTO.getBytesReadRate() > 0) {
Review comment:
Sounds good! The method is getting too big, I don't see any problem with
extracting those lines. Additionally, I think that Rafael is suggesting to
avoid those duplicated lines, if possible.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services