Sears Russell
961b63af15
Rewrote / refactored page.h. Now, it uses a freelist to reclaim slotid's within a page, and is implemented as two seperate modules. The first handles lsn's, and (will soon) check the type of each page, and then delegate work to a particular implementation of the second module.
2004-07-30 01:28:39 +00:00
Sears Russell
78eb2cbf6a
O_DIRECT (sort of...)
2004-07-27 21:30:54 +00:00
Sears Russell
54ba9b0347
Refactored bufferMananger / pageCache, so that bufferMananger handles loading an unloading pages, and pageCache only implements the replacement policy.
...
Also, used memprof to detect and remove all memory leaks (at least all memory leaks that are encountered by check_transactional2), and fixed a number of misuses of the pblHash.
2004-07-27 01:04:35 +00:00
Sears Russell
476cb7f1ca
Re-enabled non-blob tests.
2004-07-26 20:37:59 +00:00
Sears Russell
8cb59f0c23
Blobs are now re-entrant.
2004-07-26 20:37:04 +00:00
Sears Russell
422198418a
bufferMananger is (really!) re-entrant now, performed big refactoring to prevent deadlocks, check_transactional2 ran overnight without coring, w/ 25 threads, and 10000 allocate/write/reads per thread. (The whole test suite was run in a loop...)
2004-07-23 20:21:44 +00:00
Sears Russell
126ae31392
bufferMananger is *really* reentrant now! (I think) However, the same thread may not load a page more than once. So, LLADD has to be altered so that it never calls loadPage() more than once per operation (more efficient), and/or pin/unpin need to be implemented. An easy way to do pin/unpin is to have them pull things out of the cache replacement list, and then re-insert them.
2004-07-21 02:13:28 +00:00
Sears Russell
0ce77903fb
Continuing work on multi-threading. r/w access to buffer manager getting close, but still buggy.
2004-07-20 03:40:57 +00:00
Sears Russell
fab0e6cbbd
Bugfixes ; blobs pass regression. Next stop: Delete old cruft.
2004-06-28 21:10:10 +00:00
Sears Russell
d1f76f0b4a
Initial revision
2004-06-24 21:10:31 +00:00