diff options
author | Susan LoVerso <sue@wiredtiger.com> | 2015-11-11 16:41:20 -0500 |
---|---|---|
committer | Susan LoVerso <sue@wiredtiger.com> | 2015-11-11 16:41:20 -0500 |
commit | d605f46efdd5331116bafb5fd3b7fbc26daf2c0f (patch) | |
tree | ee3a8606e8e9285f02b3df60739111ad232d91fb | |
parent | 3ad5bf312cb92cfa55f6965824df3335e8e42ba2 (diff) | |
download | mongo-d605f46efdd5331116bafb5fd3b7fbc26daf2c0f.tar.gz |
WT-2199 Don't set FLUSH for fsync.
-rw-r--r-- | src/conn/conn_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn/conn_log.c b/src/conn/conn_log.c index 76da4099fe7..007d4273e72 100644 --- a/src/conn/conn_log.c +++ b/src/conn/conn_log.c @@ -33,7 +33,7 @@ __logmgr_sync_cfg(WT_SESSION_IMPL *session, const char **cfg) if (WT_STRING_MATCH("dsync", cval.str, cval.len)) FLD_SET(conn->txn_logsync, WT_LOG_DSYNC | WT_LOG_FLUSH); else if (WT_STRING_MATCH("fsync", cval.str, cval.len)) - FLD_SET(conn->txn_logsync, WT_LOG_FLUSH | WT_LOG_FSYNC); + FLD_SET(conn->txn_logsync, WT_LOG_FSYNC); else if (WT_STRING_MATCH("none", cval.str, cval.len)) FLD_SET(conn->txn_logsync, WT_LOG_FLUSH); return (0); |