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/4.4 to c4b78c3
Date Tue, 12 Aug 2014 11:16:12 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.4 9a7cdc0ad -> c4b78c3aa


dd with direct io is less impacting on Dom0 kernel resources

Signed-off-by: Daan Hoogland <daan@onecht.net>


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

Branch: refs/heads/4.4
Commit: c4b78c3aaa8df20c8e892b9d5108d8f34f96ed0c
Parents: 9a7cdc0
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:15:00 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/c4b78c3a/scripts/vm/hypervisor/xenserver/vmopsSnapshot
----------------------------------------------------------------------
diff --git a/scripts/vm/hypervisor/xenserver/vmopsSnapshot b/scripts/vm/hypervisor/xenserver/vmopsSnapshot
index 5fd69a6..5d5217b 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