DaanHoogland commented on code in PR #9417:
URL: https://github.com/apache/cloudstack/pull/9417#discussion_r1684051424
##########
plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java:
##########
@@ -489,8 +524,10 @@ public KVMPhysicalDisk copyPhysicalDisk(KVMPhysicalDisk
disk, String name, KVMSt
destFile.setFormat(dstDisk.getFormat());
destFile.setSize(disk.getVirtualSize());
+ boolean zeroedDevice = resourceSupportZeroBlocks(destPools,
LinstorUtil.RSC_PREFIX + name);
+
try {
- final QemuImg qemu = new QemuImg(timeout);
+ final QemuImg qemu = new QemuImg(timeout, zeroedDevice, true);
Review Comment:
strange thing is that I only see a `QemuImg(String)` and a
`QemuImg(int,boolean,boolean)`, so it seems this could not have compiled before.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]