Commit graph

208 commits

Author SHA1 Message Date
Gilad Arnold
570dc16f70 - minor: hash_insert returns an error in case of memory allocation failure 2005-02-03 20:40:31 +00:00
Gilad Arnold
c3229723ab - removed std99 and pedantic flags for GCC (caused annoying warnings
with variable argumented macros).
2005-02-03 20:39:11 +00:00
Sears Russell
a27787b2fa Cluster hash table now allows transactions to contain multiple requests. 2005-02-03 02:01:23 +00:00
Sears Russell
54ecc0d3c4 page->dirty is now set correctly (assuming LSN's are updated properly). pageFile.c makes use of this fact by ignoring write requests on clean pages. 2005-02-02 02:12:40 +00:00
Sears Russell
24b644162f Shortened test because it was painfully slow. 2005-02-02 02:10:17 +00:00
Sears Russell
a4c13449b8 Bugfix for pageOrientedList. 2005-01-31 02:18:46 +00:00
Sears Russell
1260710a27 Got rid of another broken hash implementation... 2005-01-31 01:34:29 +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
7cf5fdee6e Re-implemented pageOrientedListNTA from scratch. It's now more flexible, but relies on features that are not provided by Talloc/Tdealloc, so performance isn't as good as it could be. 2005-01-29 01:17:37 +00:00
Sears Russell
4d04155b0e An optimized, but still slow implementation of pageOrientedList. 2005-01-29 01:09:29 +00:00
Sears Russell
56d98adcbf Working, but slow and non-concurrent variable length key/value support for linear hashtable. 2005-01-28 21:28:23 +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
05934d296a Removed O_DIRECT since it breaks on 2.4 kernels. Need to figure out how to
detect this in the build script so that systems that support O_DIRECT can use it.

(Note:  RedHat kernels silently fail on O_DIRECT)
2005-01-24 19:58:09 +00:00
Sears Russell
5a2d2bde31 More documentation updates. 2005-01-21 02:13:17 +00:00
Sears Russell
eed439d53a CHT cleanup; integrated cht tests into make check. 2005-01-20 23:58:29 +00:00
Sears Russell
3642716431 CHT cleanup, integrated CHT tests into 'make check' 2005-01-20 22:55:54 +00:00
Sears Russell
b04e71360f Documentation update. 2005-01-20 21:19:47 +00:00
Sears Russell
54edde96c2 Possible fix for older 2.4 kernels. (Also should improve performance...) 2005-01-20 00:26:09 +00:00
Sears Russell
23539f446a More-or-less working version of CHT. Needs a lot of performance/stability/code cleanup work. 2005-01-19 00:51:54 +00:00
Sears Russell
d7b846d370 CHT is starting to work. 2005-01-19 00:47:55 +00:00
Sears Russell
7dacf21069 Rearranged cht, moving some functionality into the 2pc library. Still
need some test cases.
2005-01-16 02:30:32 +00:00
Sears Russell
894e30085c libdfa ported to new hash table implementation. (Uses nested top actions.) 2005-01-15 23:55:49 +00:00
Sears Russell
ac0d413e58 - linkedListNTA is now re-entrant.
- linearHashNTA now uses nested top actions, is re-entrant, and supports a
  non-re-entrant iterator
- 'recursive' nested top actions allow nested top actions to be nested within each
  other.
2005-01-15 01:45:27 +00:00
Sears Russell
7a990886d2 The linked list implementation now uses nested top actions. (Also, many bugfixes regarding nested top actions were introduced.) 2005-01-14 10:08:10 +00:00
Sears Russell
360f0d15e2 Working, non-concurrent linear hash and linked list implementations.
The idea is to implement the non-concurrent versions, and then convert
them to concurrent versions using nested top actions.
2005-01-14 01:52:53 +00:00
Sears Russell
6198522971 Starting to rip the old jbhash implementation out, and replace it with a
linear hash implementation.  In particular, I've implemented (sort of) an
iterator for linear hash, and (sort of) ported libdfa to linearhash.c

I say 'sort of' since this functionality is broken with this commit.  On the other hand, CVS should build now, and the tests under lladd will pass.  libdfa's new tests don't pass at the moment.
2005-01-10 03:02:02 +00:00
Sears Russell
c45ed9f5d5 Network configuration parser is working 2005-01-02 01:37:05 +00:00
Sears Russell
6fa948cd74 Partially implemented config file parser. Validates, but does not populate NetworkSetup object yet. 2004-12-30 23:07:47 +00:00
Gilad Arnold
f119717b5e Bugfix: identification of non-persistent objects in recursive updates
was bogus.
2004-12-17 02:22:36 +00:00
Gilad Arnold
79f14a1230 Added some debug traces. 2004-12-17 02:20:28 +00:00
Gilad Arnold
819522d008 Bugfix: now reading the full object before comparing with memory image,
upon recursive update.
2004-12-17 02:11:25 +00:00
Gilad Arnold
06dcd82a7d Bugfix: size of temporary buffer increases until it can contain the
currently traversed object.
2004-12-17 01:50:37 +00:00
Gilad Arnold
6358b74bac Added some debug line. 2004-12-17 01:45:09 +00:00
Gilad Arnold
635561981a Bugfix: dump type info upon set_ref, is it has been (implicitly) change. 2004-12-17 01:32:19 +00:00
Gilad Arnold
879ca42890 Support for TsetRange(), to minimize logging overhead when only portions
of objects are known to be modified.
2004-12-17 00:38:52 +00:00
Gilad Arnold
1627d00635 Added new test program + changes to make system. Tests recusive persisitifying
updates.
2004-12-16 23:51:21 +00:00
Gilad Arnold
a7b1b70f74 Added persistified recursive updates. Should be tested. 2004-12-16 23:41:57 +00:00
Gilad Arnold
d401010e27 Minor changes to test correct handling of non-persistent objects. 2004-12-16 23:12:23 +00:00
Gilad Arnold
d98c13de6d Minor change to test-multilist to work with new POBJ_UPDATE macro. 2004-12-16 23:06:14 +00:00
Gilad Arnold
58bed5beca Some changes to pobj.c to support operations for non-persistent (transient)
objects. Enhancement to test-list program to work with transient objects
as well. Minor fix to header file (typo).
2004-12-16 23:04:21 +00:00
Gilad Arnold
91eb96a113 Some changes: initial support for (un)persistify, range update, pobj_memset,
IS_PERSISTENT macro. Most are not yet tested, but compilation is okay...
2004-12-16 16:50:15 +00:00
Gilad Arnold
6502569a02 Switched to growable (unlimited) persistent objects / static references
repositories. Has been tested with 15K objects and appears to work. Also
done some significant chnages to auxiliary modules in libpobj, and the
trivial test program (test-list).
2004-12-16 09:00:07 +00:00
Gilad Arnold
e30aca6138 Temporary fix to avoid a segfault during execution of pobj test
programs, that's caused by an on-stack allocation of a very big array...
Permanent (future) fix: switch to dynamically allocated hash tables.
2004-12-15 01:27:17 +00:00
Gilad Arnold
3e720695a6 Minor fix to pobj test programs to comply with new init function. 2004-12-14 20:28:18 +00:00
Gilad Arnold
36a0821acf Beginning to add strict typing for objects (minor change). 2004-12-14 19:45:04 +00:00
Gilad Arnold
dbe3c6bdbc Forgot to commit that together with changes to src/pobj/* files from yesterday. 2004-12-14 19:32:23 +00:00
Gilad Arnold
773df6c690 Added custom memory calls for pobj internal structures. 2004-12-14 07:38:04 +00:00
A. Kamil Tanrikulu
99f85eb9c4 Added pobj test files. 2004-12-14 06:19:09 +00:00
Gilad Arnold
d69a1878b9 Last change to make test/pobj be built with the project. 2004-12-14 01:51:25 +00:00
Gilad Arnold
bcf99ae693 Small change to library list order (pobj depends on lladd). 2004-12-14 01:39:12 +00:00