cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject git commit: updated refs/heads/master to 37baddd
Date Tue, 12 Aug 2014 11:17:14 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 6568e0bb3 -> 37baddd72


dd with direct io is less impacting on Dom0 kernel resources

Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit c4b78c3aaa8df20c8e892b9d5108d8f34f96ed0c)


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/37baddd7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/37baddd7
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/37baddd7

Branch: refs/heads/master
Commit: 37baddd7212717f259c33b3bb75720d718b92d2c
Parents: 6568e0b
Author: Joris van Lieshout <jvanlieshout@schubergphilis.com>
Authored: Mon Aug 11 17:12:23 2014 +0200
Committer: Daan Hoogland <daan@onecht.net>
Committed: Tue Aug 12 13:17:02 2014 +0200

----------------------------------------------------------------------
 scripts/vm/hypervisor/xenserver/vmopsSnapshot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/37baddd7/scripts/vm/hypervisor/xenserver/vmopsSnapshot
----------------------------------------------------------------------
diff --git a/scripts/vm/hypervisor/xenserver/vmopsSnapshot b/scripts/vm/hypervisor/xenserver/vmopsSnapshot
index 3aeafa5..85444dc 100755
--- a/scripts/vm/hypervisor/xenserver/vmopsSnapshot
+++ b/scripts/vm/hypervisor/xenserver/vmopsSnapshot
@@ -201,7 +201,7 @@ def copyfile(fromFile, toFile, isISCSI):
     logging.debug("Starting to copy " + fromFile + " to " + toFile)
     errMsg = ''
     try:
-        cmd = ['dd', 'if=' + fromFile, 'of=' + toFile, 'bs=4M']
+        cmd = ['dd', 'if=' + fromFile, 'iflag=direct', 'of=' + toFile, 'oflag=direct', 'bs=4M']
         txt = util.pread2(cmd)
     except:
         try:


Mime
View raw message