diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-12-05 12:01:48 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-12-05 12:01:48 +1100 |
commit | ed57f30bd7f2247c818ea78f509ba88c7a633bc1 (patch) | |
tree | f4f89d4ad9f6927268dcf9a958b4fc663a7a2b73 /dist/serial.py | |
parent | 7df1486a12c79d8033922c948bad6870878410eb (diff) | |
download | mongo-ed57f30bd7f2247c818ea78f509ba88c7a633bc1.tar.gz |
Move reads into user threads to take advantage of parallelism.
Diffstat (limited to 'dist/serial.py')
-rw-r--r-- | dist/serial.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/dist/serial.py b/dist/serial.py index 7baf77339fe..4dfac6bf0b7 100644 --- a/dist/serial.py +++ b/dist/serial.py @@ -26,10 +26,12 @@ Serial('col_append', 'WT_SERIAL_FUNC', [ SerialArg('u_int', 'skipdepth'), ]), -Serial('cache_read', 'WT_SERIAL_READ', [ - SerialArg('WT_PAGE *', 'parent'), - SerialArg('WT_REF *', 'parent_ref'), - SerialArg('int', 'dsk_verify'), +Serial('read_begin', 'WT_SERIAL_FUNC', [ + SerialArg('WT_REF *', 'ref'), + ]), + +Serial('read_end', 'WT_SERIAL_FUNC', [ + SerialArg('WT_REF *', 'ref'), ]), Serial('evict_file', 'WT_SERIAL_EVICT', [ |