mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-21 21:18:20 +08:00
mdbx: remove extra MDBX_SYNC_IODQ.
This commit is contained in:
parent
a659a7a619
commit
ab5f3bc444
@ -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))
|
SYNC_FILE_RANGE_WRITE | SYNC_FILE_RANGE_WAIT_AFTER))
|
||||||
err = errno;
|
err = errno;
|
||||||
#else
|
#else
|
||||||
err = mdbx_filesync(env->me_fd, MDBX_SYNC_DATA | MDBX_SYNC_IODQ);
|
err = mdbx_filesync(env->me_fd, MDBX_SYNC_DATA);
|
||||||
#endif
|
#endif
|
||||||
if (unlikely(err != MDBX_SUCCESS))
|
if (unlikely(err != MDBX_SUCCESS))
|
||||||
return err;
|
return err;
|
||||||
@ -14371,7 +14371,7 @@ int __cold mdbx_env_copy2fd(MDBX_env *env, mdbx_filehandle_t fd,
|
|||||||
|
|
||||||
if (!dest_is_pipe) {
|
if (!dest_is_pipe) {
|
||||||
if (likely(rc == MDBX_SUCCESS))
|
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 */
|
/* Write actual meta */
|
||||||
if (likely(rc == MDBX_SUCCESS))
|
if (likely(rc == MDBX_SUCCESS))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user