Add a checkout option to skip fsync
This is a better followup to dc9239dd7b
since I wanted to do fsync-less checkouts in rpm-ostree too, and
replicating the "turn off fsync temporarily" was in retrospect just a
hack.
We can simply add a boolean to the checkout options.
https://github.com/GNOME/ostree/pull/172
This commit is contained in:
1 parent
a13b56f91c
commit
cd0a9d3435
3 files changed
+30
-30
No files matched your search
@@ -532,7 +532,8 @@ typedef struct {
|
||||
OstreeRepoCheckoutOverwriteMode overwrite_mode;
|
||||
|
||||
guint enable_uncompressed_cache : 1;
|
||||
guint unused : 31;
|
||||
guint disable_fsync : 1;
|
||||
guint reserved : 30;
|
||||
|
||||
const char *subpath;
|
||||
|
||||
|
||||
Reference in new issue
Block a user