Repository: cloudstack Updated Branches: refs/heads/hotfix/4.4-7319 [created] c4b78c3aa
dd with direct io is less impacting on Dom0 kernel resources Signed-off-by: Daan Hoogland <d...@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/hotfix/4.4-7319 Commit: c4b78c3aaa8df20c8e892b9d5108d8f34f96ed0c Parents: 9a7cdc0 Author: Joris van Lieshout <jvanliesh...@schubergphilis.com> Authored: Mon Aug 11 17:12:23 2014 +0200 Committer: Daan Hoogland <d...@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: