You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/09/08 16:40:07 UTC

[GitHub] [cloudstack] GutoVeronezi commented on a diff in pull request #6386: [VMWare] Limit IOPS in Compute/Disk Offerings

GutoVeronezi commented on code in PR #6386:
URL: https://github.com/apache/cloudstack/pull/6386#discussion_r966183926


##########
vmware-base/src/main/java/com/cloud/hypervisor/vmware/util/VmwareHelper.java:
##########
@@ -243,6 +245,13 @@ public static VirtualDevice prepareDiskDevice(VirtualMachineMO vmMo, VirtualDisk
             disk.setKey(-contextNumber);
             disk.setUnitNumber(deviceNumber);
 
+            if (maxIops != null && maxIops > 0) {
+                s_logger.debug(LogUtils.logGsonWithoutException("Adding [%s] as the max IOPS of disk [%s].", maxIops, disk));

Review Comment:
   ```suggestion
                   s_logger.debug(LogUtils.logGsonWithoutException("Defining [%s] as the max IOPS of disk [%s].", maxIops, disk));
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org