summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorsueloverso <sue@mongodb.com>2017-04-20 17:39:58 -0400
committerGitHub <noreply@github.com>2017-04-20 17:39:58 -0400
commit26a3c01c8a2f2a6f4112f8b7b86b62b94e1cbff2 (patch)
tree11108428e6265f7ea9c169814915f3c64238dfac /src/include
parent20580c7792d616136bbb25ad00b0842ac278347a (diff)
downloadmongo-26a3c01c8a2f2a6f4112f8b7b86b62b94e1cbff2.tar.gz
WT-3282 Split cache flags and cache_pool flags. (#3396)
* WT-3282 Split cache flags and cache_pool flags. * KNF
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cache.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/cache.h b/src/include/cache.h
index 8f439599eca..a3fc17b9740 100644
--- a/src/include/cache.h
+++ b/src/include/cache.h
@@ -179,6 +179,10 @@ struct __wt_cache {
/*
* Flags.
*/
+#define WT_CACHE_POOL_MANAGER 0x001 /* The active cache pool manager */
+#define WT_CACHE_POOL_RUN 0x002 /* Cache pool thread running */
+ uint32_t pool_flags; /* Cache pool flags */
+
#define WT_CACHE_EVICT_CLEAN 0x001 /* Evict clean pages */
#define WT_CACHE_EVICT_CLEAN_HARD 0x002 /* Clean % blocking app threads */
#define WT_CACHE_EVICT_DIRTY 0x004 /* Evict dirty pages */
@@ -186,9 +190,6 @@ struct __wt_cache {
#define WT_CACHE_EVICT_SCRUB 0x010 /* Scrub dirty pages */
#define WT_CACHE_EVICT_URGENT 0x020 /* Pages are in the urgent queue */
#define WT_CACHE_EVICT_ALL (WT_CACHE_EVICT_CLEAN | WT_CACHE_EVICT_DIRTY)
-#define WT_CACHE_EVICT_MASK 0x0FF
-#define WT_CACHE_POOL_MANAGER 0x100 /* The active cache pool manager */
-#define WT_CACHE_POOL_RUN 0x200 /* Cache pool thread running */
uint32_t flags;
};