core: Use O_NOATIME to open metadata
We really don't need atime for metadata, it's just a speed hit.
This commit is contained in:
1 parent
2396608754
commit
4d2f770748
4 files changed
+40
-7
No files matched your search
@@ -59,6 +59,8 @@ gboolean ot_unix_fdatasync (int fd, GError **error);
|
||||
|
||||
gboolean ot_unix_close (int fd, GError **error);
|
||||
|
||||
gboolean ot_unix_open_noatime (const char *path, int *out_fd, GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user