summaryrefslogtreecommitdiff
path: root/src/support/stat.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2015-10-09 17:07:24 +1100
committerMichael Cahill <michael.cahill@mongodb.com>2015-10-09 17:07:24 +1100
commit0537648e03b4fbaca89b009a37b6684863aebcf5 (patch)
treef526ab69ba7c2a4ed22379af286d33213e366052 /src/support/stat.c
parent3c856645c8b4340778d9f3c64051f476cbe66f71 (diff)
parent544f27de73419dbf4494b9ad826c643dfec38e6c (diff)
downloadmongodb-3.2.0-rc1.tar.gz
Merge branch 'develop' into mongodb-3.2mongodb-3.2.0-rc1
Diffstat (limited to 'src/support/stat.c')
-rw-r--r--src/support/stat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/support/stat.c b/src/support/stat.c
index 4e7f54937f4..9e817fad512 100644
--- a/src/support/stat.c
+++ b/src/support/stat.c
@@ -595,6 +595,7 @@ static const char * const __stats_connection_desc[] = {
"log: log sync_dir operations",
"log: log server thread advances write LSN",
"log: log write operations",
+ "log: log files manually zero-filled",
"LSM: sleep for LSM checkpoint throttle",
"LSM: sleep for LSM merge throttle",
"LSM: rows merged in an LSM tree",
@@ -760,6 +761,7 @@ __wt_stat_connection_clear_single(WT_CONNECTION_STATS *stats)
stats->log_slot_unbuffered = 0;
stats->log_bytes_payload = 0;
stats->log_bytes_written = 0;
+ stats->log_zero_fills = 0;
stats->log_flush = 0;
stats->log_compress_writes = 0;
stats->log_compress_write_fails = 0;
@@ -944,6 +946,7 @@ __wt_stat_connection_aggregate(
to->log_slot_unbuffered += WT_STAT_READ(from, log_slot_unbuffered);
to->log_bytes_payload += WT_STAT_READ(from, log_bytes_payload);
to->log_bytes_written += WT_STAT_READ(from, log_bytes_written);
+ to->log_zero_fills += WT_STAT_READ(from, log_zero_fills);
to->log_flush += WT_STAT_READ(from, log_flush);
to->log_compress_writes += WT_STAT_READ(from, log_compress_writes);
to->log_compress_write_fails +=