sysroot: Drop an unnecessary fsync
While looking at a slow update issue (which I'm guessing is unpredictable I/O latency in an OpenStack instance), I noticed in one of the traces we were inside a fsync here. Dropping the fsync here is just another of a long series of unwinding them - we `syncfs()` the sysroot fd and `/boot` and we have a big `sync()` anyways. Closes: #508 Approved by: jlebon
This commit is contained in:
1 parent
4f736ac33e
commit
f2b6afd2df
3 files changed
+5
-76
No files matched your search
@@ -85,10 +85,6 @@ gboolean ot_gfile_ensure_unlinked (GFile *path,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
gboolean ot_util_ensure_directory_and_fsync (GFile *dir,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
#if !GLIB_CHECK_VERSION(2, 44, 0)
|
||||
gboolean
|
||||
ot_file_enumerator_iterate (GFileEnumerator *direnum,
|
||||
|
||||
Reference in new issue
Block a user