summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-01-13 13:21:48 -0500
committerKeith Bostic <keith@wiredtiger.com>2015-01-13 13:21:48 -0500
commit4afb64d35aba7af9bc4e89e93758c025e2fe8815 (patch)
tree216d217e690c891c6e33d7d805e7372397baa047
parent36db7203ef6477ff5272c2cc426cba406c7f5f97 (diff)
downloadmongo-4afb64d35aba7af9bc4e89e93758c025e2fe8815.tar.gz
whitespace, spelling.
-rw-r--r--src/btree/bt_split.c4
-rw-r--r--src/include/btree.i12
2 files changed, 8 insertions, 8 deletions
diff --git a/src/btree/bt_split.c b/src/btree/bt_split.c
index 9a3186a0015..6d6a97c981b 100644
--- a/src/btree/bt_split.c
+++ b/src/btree/bt_split.c
@@ -172,7 +172,7 @@ __split_safe_free(WT_SESSION_IMPL *session, int exclusive, void *p, size_t s)
* any real understanding of what might be useful to surface to applications.
*/
static u_int __split_deepen_min_child = 10000;
-static u_int __split_deepen_per_child = 100;
+static u_int __split_deepen_per_child = 100;
/*
* __split_should_deepen --
@@ -192,7 +192,7 @@ __split_should_deepen(
/*
* Deepen the tree if the page's memory footprint is larger than the
- * maximum size for a page in memory (presuambly putting eviction
+ * maximum size for a page in memory (presumably putting eviction
* pressure on the cache).
*/
if (page->memory_footprint < S2BT(session)->maxmempage)
diff --git a/src/include/btree.i b/src/include/btree.i
index 6955b672926..d30ee46486a 100644
--- a/src/include/btree.i
+++ b/src/include/btree.i
@@ -917,13 +917,13 @@ __wt_page_release_busy(WT_SESSION_IMPL *session, WT_REF *ref, uint32_t flags)
if (too_big)
WT_STAT_FAST_CONN_INCR(session, cache_eviction_force);
else
- /*
- * If the page isn't too big, we are evicting it
- * because it had a chain of deleted entries that make
- * traversal expensive.
- */
+ /*
+ * If the page isn't too big, we are evicting it because
+ * it had a chain of deleted entries that make traversal
+ * expensive.
+ */
WT_STAT_FAST_CONN_INCR(
- session, cache_eviction_force_delete);
+ session, cache_eviction_force_delete);
} else {
WT_STAT_FAST_CONN_INCR(session, cache_eviction_force_fail);
}