From ab5f3bc444bcbced3082ed7bd4a975be1a6db9b0 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Thu, 5 Dec 2019 00:23:56 +0300 Subject: [PATCH] mdbx: remove extra MDBX_SYNC_IODQ. --- src/elements/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/elements/core.c b/src/elements/core.c index 8ddae5cd..92bd2b2d 100644 --- a/src/elements/core.c +++ b/src/elements/core.c @@ -3893,7 +3893,7 @@ __cold static int mdbx_wipe_steady(MDBX_env *env, const txnid_t last_steady) { SYNC_FILE_RANGE_WRITE | SYNC_FILE_RANGE_WAIT_AFTER)) err = errno; #else - err = mdbx_filesync(env->me_fd, MDBX_SYNC_DATA | MDBX_SYNC_IODQ); + err = mdbx_filesync(env->me_fd, MDBX_SYNC_DATA); #endif if (unlikely(err != MDBX_SUCCESS)) return err; @@ -14371,7 +14371,7 @@ int __cold mdbx_env_copy2fd(MDBX_env *env, mdbx_filehandle_t fd, if (!dest_is_pipe) { if (likely(rc == MDBX_SUCCESS)) - rc = mdbx_filesync(fd, MDBX_SYNC_DATA | MDBX_SYNC_SIZE | MDBX_SYNC_IODQ); + rc = mdbx_filesync(fd, MDBX_SYNC_DATA | MDBX_SYNC_SIZE); /* Write actual meta */ if (likely(rc == MDBX_SUCCESS))