[gnome-continuous] libqa: Disable fsync when pulling content



commit 13ba787f7653bdcd4a56638756a2cb625843cd36
Author: Colin Walters <walters verbum org>
Date:   Thu Jul 17 13:40:53 2014 -0400

    libqa: Disable fsync when pulling content
    
    It's not necessary, since we synchronusly flush the disk at the end.

 src/js/libqa.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/libqa.js b/src/js/libqa.js
index bc7eb59..565b6c0 100644
--- a/src/js/libqa.js
+++ b/src/js/libqa.js
@@ -353,7 +353,7 @@ function pullDeploy(mntdir, srcrepo, osname, target, revision, originRepoUrl, ca
                          cancellable, { logInitiation: true });
     
     ProcUtil.runSync(['ostree', repoArg,
-                      'pull-local', '--remote=' + osname, srcrepo.get_path(), revOrTarget], cancellable,
+                      'pull-local', '--disable-fsync', '--remote=' + osname, srcrepo.get_path(), 
revOrTarget], cancellable,
                      {logInitiation: true, env: adminEnv});
 
     let origin = GLib.KeyFile.new();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]