Sears Russell
bff22716a7
Updated page.h's interface to make it more consistent.
2007-05-31 01:15:12 +00:00
Sears Russell
73788eb910
Reworked intialization code, includes to isolate bufferManager
...
implementation from the rest of Stasis.
2007-03-03 01:52:03 +00:00
Sears Russell
7888d647ed
Removed unused abort/commit callbacks.
2006-07-26 17:48:36 +00:00
Sears Russell
a5a234635e
readBlob() no longer writes the blob contents to the log. ;)
2006-07-25 00:58:28 +00:00
Sears Russell
d26263262b
Completely new blob implementation. Slower than the old one was supposed to be, but is correct, and extremeley
...
simple. It simply writes the pre-image and post-image of each blob to the log using TpageSet.
2006-06-21 00:45:18 +00:00
Sears Russell
e14877821f
Fixed blob bug. The reason it's so slow is that it's logging a preimage + postimage of each blob and then synchronously writing to a second copy each time the blob is
...
written to(!!!)
2006-06-20 00:03:38 +00:00
Sears Russell
3e4cac0fe3
Continued cleaning up allocation code. It seems really slow all of a sudden, so this commit probably introduced a performance bug.
2006-06-17 00:25:09 +00:00
Sears Russell
e56c46b95c
Moved blob_record_t into transactional.h (part of transition to using
...
slot type lookup tables.)
2006-06-13 22:37:29 +00:00
Jimmy Kittiyachavalit
80ed16c18e
Initial implementation of logMemory.c. Haven't yet done any testing, but it seems to compile. However, as of now, the current source code in the cvs repository does not build, dying on check_<somehting (I think ringbuffer.x)>, due to an a reference to an undefined symbol 'mutex'.
2005-03-14 20:54:06 +00:00
Sears Russell
e22d4b8e59
Partial implementation of ringbuffer for in-memory long, among other things.
2005-03-08 07:53:53 +00:00
Sears Russell
a3112ee81c
Fixes for freebsd.
2005-03-02 05:47:38 +00:00
Sears Russell
890a7385d0
Fixeds cht test / finished error checking within LLADD, but haven't tested error handling yet.
2005-02-24 21:12:36 +00:00
Sears Russell
bb69197a65
Fixed blob implementation (it was impossible to distinguish between a blob and a record of length 12), removed jbhash, and ported cht to linearHashNTA.
2005-01-31 01:29:52 +00:00
Sears Russell
17f76264aa
Implemented pageOrientedList, also did some bug fixing, and added some support functions to alloc.c
2005-01-28 03:32:17 +00:00
Sears Russell
811bc5c710
Implemented a freespace manager that should safely allocate space, even in the face of crashes, and can reclaim unused space (unless an application opens more than one simultaneous transaction that performs allocations)
...
Fixed some blob bugs (by adding extra fdatasync() calls).
Began factoring out the page management code so that it is an extenstion, and a less integral part of lladd.
2004-08-21 00:03:30 +00:00
Sears Russell
b4d7883f66
Fixed regressions, major update of page / slotted interfaces in anticipation of moving LLADD towards a generic transactional page system.
2004-08-17 01:46:17 +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
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
12fc5665ab
pageCache is now re-entrant, in theory.
2004-07-15 00:42:36 +00:00
Sears Russell
9712e291e6
Moved page.h and some of the logging headers out of the public API.
2004-07-14 21:25:59 +00:00
Sears Russell
2b42451280
Cleaning up bufferManager / page for locking. Want to limit access to the Page struct.
2004-07-14 20:49:18 +00:00
Sears Russell
e1d3bf7a0c
Ported LLADD to Fedora, cleaned up autoconf setup, and numerouse #includes that were problematic.
2004-07-06 01:22:18 +00:00
Sears Russell
f8015a5687
Documentation update, added latch profiling tools.
2004-07-04 00:46:49 +00:00
Sears Russell
af152bd08e
Logwriter can now handler partial log entries correctly (it ignores them)
...
Buffer Mananger no longer steals pages pre-maturely
Alloc is an operation, and correct.
Caching broken out into a new module
Wrote a utility to translate a log file into human-readable ascii.
2004-06-30 01:09:57 +00:00
Sears Russell
c4fac084b8
Cleaned out old cruft, such as commented out code, dead data structures, and dead files. sloccount went from $75,000 to $50,000 on src/lladd. ;)
2004-06-28 22:48:02 +00:00
Sears Russell
fab0e6cbbd
Bugfixes ; blobs pass regression. Next stop: Delete old cruft.
2004-06-28 21:10:10 +00:00
Sears Russell
7e2f1fc5b2
Wrote blobmanager, didn't compile it yet.
2004-06-26 02:05:24 +00:00
Sears Russell
0f4dc72e18
blob manager commit.
2004-06-25 18:59:24 +00:00