summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaveh86 <howsdav@gmail.com>2015-04-13 12:59:29 +1000
committerMichael Cahill <michael.cahill@mongodb.com>2015-04-25 12:50:52 +1000
commit6bc0d1c5a4f684989d2f7637b4198541189fdb9c (patch)
tree31bc2903ba571f46e734164b331c4b540c627d13
parent231118be3d3dbac35c654aeb77bac0f4f77e13ce (diff)
downloadmongo-6bc0d1c5a4f684989d2f7637b4198541189fdb9c.tar.gz
Allow forced eviction of pages already queued for eviction
-rw-r--r--src/include/btree.i4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/btree.i b/src/include/btree.i
index 7d9a3095a0c..a6922d0d876 100644
--- a/src/include/btree.i
+++ b/src/include/btree.i
@@ -967,10 +967,6 @@ __wt_page_can_evict(WT_SESSION_IMPL *session, WT_PAGE *page, int check_splits)
if (mod == NULL)
return (1);
- /* Skip pages that are already being evicted. */
- if (F_ISSET_ATOMIC(page, WT_PAGE_EVICT_LRU))
- return (0);
-
/*
* If the tree was deepened, there's a requirement that newly created
* internal pages not be evicted until all threads are known to have