Commit Graph

784 Commits

Author SHA1 Message Date
Joe Thornber
e408192b06 rename btree_validator to btree_checker 2011-08-31 13:38:22 +01:00
Joe Thornber
dec79974b2 [block] use an enum to designate a block as a super block 2011-08-31 13:22:37 +01:00
Joe Thornber
2973c64e00 [block] remove flush() method 2011-08-31 13:19:55 +01:00
Joe Thornber
6d37d86d55 [block] always use a validator, but default to a noop one 2011-08-31 13:18:28 +01:00
Joe Thornber
9cfdbfb8cc Having the block size as a template parameter makes all the code very
verbose, and we're not likely to change it.  So this change removes
that template arg from everything except the block manager.
2011-08-31 13:04:08 +01:00
Joe Thornber
a285fee757 get unit-tests working with g++ 4.4 2011-08-30 12:47:42 +01:00
Joe Thornber
19c7144b3b roots automatically get their ref count bumped now 2011-08-26 15:30:14 +01:00
Joe Thornber
90675d3a95 include sm_disk bitmaps in metadata counts 2011-08-26 11:13:13 +01:00
Joe Thornber
240e782a07 include ref_count tree in ref counts 2011-08-25 16:27:58 +01:00
Joe Thornber
3f5e95809f include the btree roots in the ref count audit 2011-08-25 16:13:54 +01:00
Joe Thornber
550b8ca35a make sure we take the metadata bitmaps into account for the reference counting 2011-08-25 16:10:03 +01:00
Joe Thornber
fce7e99d9a improve reference count tracking 2011-08-25 15:51:40 +01:00
Joe Thornber
52f03b7542 check metadata reference counts 2011-08-25 15:05:23 +01:00
Joe Thornber
dfe3275eac get compiling on g++ 4.4 2011-08-25 10:54:43 +01:00
Joe Thornber
04d7b7ce5b [thin-repair] stop using c++0x features 2011-08-24 14:27:45 +01:00
Joe Thornber
987a8360c9 [thin_repair] repair now checks the data reference counts. 2011-08-24 10:45:39 +01:00
Joe Thornber
511456f903 Some work on thin_repair. 2011-08-23 11:55:37 +01:00
Joe Thornber
29c2831f3e [btree_t] check for duplicate blocks 2011-08-22 14:14:10 +01:00
Joe Thornber
d9e99dc00c fix bug in insert_at 2011-08-22 14:09:37 +01:00
Joe Thornber
4d37416075 [btree] allow people to visit all the nodes in a btree. 2011-08-22 11:55:55 +01:00
Joe Thornber
9be40b76b5 create a separate unit-tests dir 2011-08-22 10:42:13 +01:00
Joe Thornber
7dbc18d327 factor sm_disk_base out of sm_disk for reuse with sm_disk_metadata. 2011-08-15 11:51:49 +01:00
Joe Thornber
0f3931bee0 check reopening sm disk 2011-07-22 16:43:15 +01:00
Joe Thornber
20cf00c078 fluff 2011-07-22 16:34:24 +01:00
Joe Thornber
5c66593d11 fixup tests following the stricter block checking 2011-07-22 16:32:47 +01:00
Joe Thornber
a683979585 space map disk 2011-07-22 16:09:56 +01:00
Joe Thornber
186753d443 get btree insert/lookup working 2011-07-15 15:21:28 +01:00
Joe Thornber
a4b5718a78 streamline and test transaction_manager 2011-07-14 15:31:00 +01:00
Joe Thornber
a0cae447f6 some streamlining of the block interface 2011-07-14 14:05:07 +01:00
Joe Thornber
e77ed189bb space map tests 2011-07-13 16:59:12 +01:00
Joe Thornber
8a7f0214d3 block_manager and unit test 2011-07-13 15:09:33 +01:00
Joe Thornber
c090bb88b5 write some code 2011-06-27 10:45:30 +01:00
Joe Thornber
2e39670ff9 write a lot of the persistent data classes 2011-06-23 14:47:08 +01:00
Joe Thornber
6b8b16c70a blank project 2011-06-16 08:16:10 +01:00