Add --disable-fsync option to pull-local, and API to repo

This will be used by guestmount - it's WAY faster.  We only take disks
as a unit, so it's safe.  If the process fails halfway through, we
just start over from scratch the next time anyways.
This commit is contained in:
Colin Walters committed 2014-01-31 22:18:13 -05:00
1 parent 2313bdcb62
commit 234ae70b4c
5 files changed
+33 -3

No files matched your search

+3
View File
@@ -48,6 +48,9 @@ gboolean ostree_repo_open (OstreeRepo *self,
GCancellable *cancellable,
GError **error);
void ostree_repo_set_disable_fsync (OstreeRepo *self,
gboolean disable_fsync);
gboolean ostree_repo_create (OstreeRepo *self,
OstreeRepoMode mode,
GCancellable *cancellable,