Commit graph

28 commits

Author SHA1 Message Date
Phillip Toland
e20a91e082 Updated Jon's email address. 2009-06-23 15:27:37 -05:00
Phillip Toland
09184b0399 Added license information. 2009-06-23 15:17:05 -05:00
Jon Meredith
0affeb825c Cleaned up driver
- removed the lock checks now we are happy with the mutex
 - replaced 'const == var' tests with 'var == const' to make code consistent.
2009-06-23 15:02:33 -05:00
Jon Meredith
2077413b9e Added active counts to dbref and portref to help see what is being corrupted
in the coredump.
2009-06-23 15:02:33 -05:00
Jon Meredith
13240670c3 Added bdberl:driver_info() function to get driver parameters. 2009-06-23 15:02:32 -05:00
Jon Meredith
1e3b89e24e Broke stats code out into bdberl_stats.h module.
Had to rename some functions that became non-static.
Added some accessors to module static variables as needed.
2009-06-23 15:02:32 -05:00
Jon Meredith
def6d9376a Changed stats functions to use async_dbref/async_flags to pass parameters
to async functions rather than work buffer.
2009-06-23 15:02:32 -05:00
Jon Meredith
dc867e363b Incorporated Diz's crc generation/checking patch to bdberl.erl.
Added crc checking before/after BDB accesses in C driver.
Changed get to use malloc DBTs rather than the user supplied buffer
previously.
2009-06-23 15:02:31 -05:00
Jon Meredith
1409096860 Renamed get_lg_dir() to get_lg_dir_info and added get_data_dirs_info().
Both new calls return the filesystem id and the number of mbytes available
on that filesystem.
2009-05-29 12:13:19 -06:00
Jon Meredith
c74beeba9f Added transaction stats. 2009-05-28 12:05:52 -06:00
Jon Meredith
e4757031a2 Added mutex stats. 2009-05-27 16:49:18 -06:00
Jon Meredith
e80dc97d6d Added memory pool statistics. 2009-05-27 16:31:26 -06:00
Jon Meredith
62d4522580 Added log stats 2009-05-27 15:25:50 -06:00
Jon Meredith
70dd9ee11a Added lock_stat/1 and lock_stat_print/1 functions to get lock stats. 2009-05-27 15:02:58 -06:00
Jon Meredith
05c1754e7f Added stat/2 and stat_print/1, stat_print/2 functions for retrieving/displaying stats about the BDB subsystem. 2009-05-27 14:03:11 -06:00
Dave Smith
22f33e0b0d Adding support for registering a logger port/pid to capture BDB messages 2009-04-16 07:08:22 -06:00
Phillip Toland
ab1e627089 Rename tune_system to get_info and remove set calls. 2009-02-16 16:57:48 -06:00
Jon Meredith
5ccd73c2ea Added some pedantic defaults to make super-duper-extra-special sure things are as we expect. 2009-02-10 15:24:04 -07:00
Phillip Toland
df6222a51c Added truncate command. 2009-02-02 15:51:47 -06:00
Dave Smith
68813d0a53 Adding support for list database directories and txn'lly deleting databases 2008-12-17 13:07:36 -07:00
Dave Smith
865f8958c5 Implemented support for put_commit 2008-12-15 11:47:38 -07:00
Dave Smith
2d323cb304 Adding support for cursor operations 2008-12-15 11:25:03 -07:00
Dave Smith
f56351e1dc Overhaul driver to avoid use of pipes and simplify memory management 2008-12-15 09:23:19 -07:00
Dave Smith
987231cef9 Adding "tune" command that lets us get/set various timeouts 2008-12-11 14:13:37 -07:00
Dave Smith
8fc3cc3701 Interstitial commit 2008-12-10 18:17:44 -07:00
Dave Smith
2f83430708 Adding support for get/put and basic transactions 2008-12-09 13:18:55 -07:00
Dave Smith
ade3f99f81 Open/Close now seems to be functional 2008-12-07 23:28:04 -07:00
Dave Smith
20f872cdef Lots more work on getting basic system fleshed out. Basic structures in place for tracking open databases. 2008-12-06 22:08:36 -07:00