diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-11-03 23:48:27 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-11-03 23:48:27 +1100 |
commit | 455cfc40f7239a3e93148704033572229f03f2c1 (patch) | |
tree | 71d4c307182b6e4782130624312af4e1b38c96ca /src/include/cache.h | |
parent | 7eaba73eac3283c92b2c757efcd5c907d72301e0 (diff) | |
download | mongo-455cfc40f7239a3e93148704033572229f03f2c1.tar.gz |
Remove the workQ -- have application threads notify the read and eviction servers directly.
Diffstat (limited to 'src/include/cache.h')
-rw-r--r-- | src/include/cache.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/include/cache.h b/src/include/cache.h index 70f73360610..e610cab2aef 100644 --- a/src/include/cache.h +++ b/src/include/cache.h @@ -46,12 +46,7 @@ struct __wt_read_req { * WiredTiger cache structure. */ struct __wt_cache { - /* - * The workQ thread sets evict_pending when it posts a message to - * the cache thread, which clears it when the message is handled. - */ WT_MTX *mtx_evict; /* Cache eviction server mutex */ - u_int volatile evict_pending; /* Message queued */ /* * File sync can temporarily fail when a tree is active, that is, we may @@ -68,12 +63,7 @@ struct __wt_cache { WT_EVICT_REQ evict_request[20]; /* Eviction requests: slot available if session is NULL */ - /* - * The workQ thread sets read_pending when it posts a message to the - * I/O thread, which clears it when the message is handled. - */ WT_MTX *mtx_read; /* Cache read server mutex */ - u_int volatile read_pending; /* Message queued */ u_int volatile read_lockout; /* No reading until memory drains */ WT_READ_REQ read_request[40]; /* Read requests: |