Skip to content

Commit e458d2b

Browse files
Srivastava, PiyushSrivastava, Piyush
authored andcommitted
bugfix/CSTACKEX-131: Updated detailed comment 1
1 parent 49c48e1 commit e458d2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/IscsiAdmStorageAdaptor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,8 @@ public KVMPhysicalDisk copyPhysicalDisk(KVMPhysicalDisk srcDisk, String destVolu
462462
q.convert(srcFile, destFile);
463463
// Below fix is required when vendor depends on host based copy rather than storage CAN_CREATE_VOLUME_FROM_VOLUME capability
464464
// When host based template copy is triggered , small size template sits in RAM(depending on host memory and RAM) and copy is marked successful and by the time flush to storage is triggered
465-
// disconectPhysicalDisk would disconnect the lun , hence template staying in RAM is not copied to storage lun. Below does flushing of data to storage and marking
466-
// copy as succesful once flush is complete.
465+
// disconnectPhysicalDisk would disconnect the lun , hence template staying in RAM is not copied to storage lun. Below does flushing of data to storage and marking
466+
// copy as successful once flush is complete.
467467
Script flushCmd = new Script(true, "blockdev", 0, logger);
468468
flushCmd.add("--flushbufs", destDisk.getPath());
469469
String flushResult = flushCmd.execute();

0 commit comments

Comments
 (0)