diff options
author | daveh86 <howsdav@gmail.com> | 2015-04-13 12:59:29 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2015-04-25 12:50:52 +1000 |
commit | 6bc0d1c5a4f684989d2f7637b4198541189fdb9c (patch) | |
tree | 31bc2903ba571f46e734164b331c4b540c627d13 | |
parent | 231118be3d3dbac35c654aeb77bac0f4f77e13ce (diff) | |
download | mongo-6bc0d1c5a4f684989d2f7637b4198541189fdb9c.tar.gz |
Allow forced eviction of pages already queued for eviction
-rw-r--r-- | src/include/btree.i | 4 |
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 |