diff options
author | Susan LoVerso <sue@wiredtiger.com> | 2015-08-10 10:58:26 -0400 |
---|---|---|
committer | Susan LoVerso <sue@wiredtiger.com> | 2015-08-10 10:58:26 -0400 |
commit | 1d01774f7a987354813cd5f2012963574aee469e (patch) | |
tree | c70c2acc545f68123bdf04c6b4dacdd68e6c83a5 /src/include/log.h | |
parent | 0bb4db1b23dd5e9fdb72f04605e00e39d0b05968 (diff) | |
download | mongo-1d01774f7a987354813cd5f2012963574aee469e.tar.gz |
WT-2031 Code movement, comments, new stat and diagnostics.
Diffstat (limited to 'src/include/log.h')
-rw-r--r-- | src/include/log.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/log.h b/src/include/log.h index 9f7e29ed60a..8e9f9a5df2d 100644 --- a/src/include/log.h +++ b/src/include/log.h @@ -206,6 +206,9 @@ typedef struct { WT_LOGSLOT *active_slot; /* Active slot */ WT_LOGSLOT slot_pool[WT_SLOT_POOL]; /* Pool of all slots */ size_t slot_buf_size; /* Buffer size for slots */ +#ifdef HAVE_DIAGNOSTIC + uint64_t write_calls; /* Calls to log_write */ +#endif #define WT_LOG_FORCE_CONSOLIDATE 0x01 /* Disable direct writes */ uint32_t flags; |