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:
Colin Walters committed 2012-08-27 16:07:39 -04:00
1 parent 2396608754
commit 4d2f770748
4 files changed
+40 -7

No files matched your search

+2
View File
@@ -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