Commit Graph

781 Commits

Author SHA1 Message Date
Edward Amsden
295da34cf8 pma: preserve instance for BatteriesList 2023-12-07 01:07:26 -06:00
Edward Amsden
06da6c6757 pma: persist instance for Batteries 2023-12-07 00:10:19 -06:00
Edward Amsden
6d7a8a1283 devshell: add bacon 2023-12-06 23:08:53 -06:00
Edward Amsden
07c541e87e pma: fix warning in build script 2023-12-06 23:08:53 -06:00
Edward Amsden
76fa10e1ea pma: persist instance for Hamt 2023-12-06 23:08:53 -06:00
barter-simsum
e4695f641c pma: misc bug fixes in _bt_state_load 2023-12-06 18:23:33 -05:00
barter-simsum
f07bc63e01 pma: test restructuring 2023-12-06 18:17:51 -05:00
barter-simsum
1cdb55ce7f pma: _bt_state_restore_maps2 2023-12-06 14:05:54 -05:00
Edward Amsden
1f68d65bb8 hamt: allocate outermost stem on NockStack 2023-12-05 23:32:39 -06:00
barter-simsum
87320843de pma: remove old node freelist implm and refactor _bt_state_load 2023-12-05 21:39:21 -05:00
barter-simsum
2b6f5fdc26 pma: abort if mmap calls return MAP_FAILED 2023-12-05 21:21:26 -05:00
barter-simsum
df591e419f pma: increment meta.txnid on sync 2023-12-05 21:19:03 -05:00
barter-simsum
b957bb6c5b pma: misc fixes 2023-12-05 19:29:56 -05:00
barter-simsum
a820222566 pma: remove .meta_fd from BT_state 2023-12-05 19:29:35 -05:00
barter-simsum
984b7dcdfb pma: fix mmap call in _bt_data_cow 2023-12-05 17:25:09 -05:00
Edward Amsden
35301c6e12 pma: copy nouns in 2023-12-04 22:55:32 -06:00
Edward Amsden
1c88d390e3 pma: space_needed for Noun 2023-12-04 20:50:07 -06:00
barter-simsum
d1ee3f673d pma: misc
cleans up code. clearing comments and unnecessary struct members

also fixed lowidx calculation bug in deletion coalescing routines
2023-12-04 20:13:33 -05:00
barter-simsum
bbe034e382 pma: _mlist_insert 2023-12-04 19:50:20 -05:00
Edward Amsden
1395d4b885 pma: remove previous PMA code 2023-12-04 18:18:29 -06:00
Edward Amsden
7112890b96 pma: take snapshots from serf 2023-12-04 18:07:51 -06:00
Edward Amsden
267a1a3cd5 pma: skeleton of integration into ares 2023-12-04 16:24:48 -06:00
Edward Amsden
ebb5a4063d snapshot: strip out old snapshotting code to make way for PMA 2023-12-04 16:24:48 -06:00
barter-simsum
7935f531ff pma: call pending freelist merge routines in bt_sync 2023-12-04 17:11:54 -05:00
barter-simsum
5beb2da584 pma: rewrite _pending_nlist_merge 2023-12-04 17:07:48 -05:00
barter-simsum
bbc1c88120 pma: amend _pending_flist_merge 2023-12-04 17:07:38 -05:00
barter-simsum
9708b47eca pma: _pending_flist_merge one line change 2023-12-04 16:31:49 -05:00
barter-simsum
520f8133ab pma: _pending_flist_merge
did I do this right? need to review. additionally, need to rewrite
_pendling_nlist_merge
2023-12-04 16:26:51 -05:00
barter-simsum
89eb301914 pma: some pending_flist operations. still need merge 2023-12-04 15:28:25 -05:00
barter-simsum
6a41cc156c pma: amend _bt_data_cow 2023-12-04 13:47:33 -05:00
barter-simsum
db5ee1e371 pma: fix ADDR2OFF and OFF2ADDR. amend all sites that improperly handle vaof_t
this should be closely inspected. additionally fixed _bt_data_cow implementation
and a few other misc things
2023-12-04 13:36:50 -05:00
barter-simsum
14f82b45a8 pma: bt_inbounds 2023-12-04 12:37:53 -05:00
barter-simsum
3c0d34dd11 pma: modifications to bt_dirty and _bt_data_cow 2023-12-02 08:02:14 -05:00
barter-simsum
d7ffdc47de pma: bt_dirty partial implm 2023-12-01 23:17:38 -05:00
barter-simsum
dc760add87 pma: amend bt_next_alloc impl 2023-12-01 16:37:18 -05:00
barter-simsum
2aae3d046b pma: implement bt_next_alloc 2023-12-01 16:30:14 -05:00
barter-simsum
debabd9ec4 pma: implement bt_range_of 2023-11-30 17:16:15 -05:00
barter-simsum
1f61db551b pma: fix external routine stubs. add comments to header 2023-11-30 11:37:09 -05:00
Edward Amsden
6944b9b295 pma: format lib.rs 2023-11-29 16:36:58 -06:00
Edward Amsden
093aff0356 pma: use cc crate in build.rs 2023-11-29 16:36:30 -06:00
barter-simsum
f7ffa0de97 pma: add additional interface stubs. implement later 2023-11-29 14:05:22 -05:00
barter-simsum
96b31ffe7f pma: move BT_meta.chk to end of struct. hardcode 32 roots 2023-11-29 13:03:57 -05:00
barter-simsum
857c0051d9 pma: don't include stdlib.h in btree.h 2023-11-29 12:52:42 -05:00
barter-simsum
13963724a1 pma: declare BT_state in btree.h 2023-11-29 12:46:46 -05:00
Edward Amsden
187b283308 pma: fix wrapper.h 2023-11-29 11:43:15 -06:00
Edward Amsden
391166ca55 pma: update .gitignore 2023-11-29 11:41:55 -06:00
Edward Amsden
accf255b1a pma: wip: forgot checksum.h 2023-11-29 11:41:31 -06:00
Edward Amsden
add377b007 pma: export bindgen bindings from lib 2023-11-29 10:36:19 -06:00
Edward Amsden
41253e9848 pma: wip: copy in PMA source and create bindgen crate 2023-11-29 10:15:46 -06:00
Alex Shelkovnykov
408a405d6b
Merge pull request #142 from urbit/as/slot
nock: fix slot access bug
2023-11-28 20:17:26 -06:00