Commit Graph

412 Commits

Author SHA1 Message Date
Joe Thornber
1e141f83bb Convert array_block_t to gmock 2013-03-22 14:13:58 +00:00
Joe Thornber
f9bf18adf6 Move array_t to gmock 2013-03-22 13:42:20 +00:00
Joe Thornber
50bab1c90a Quieten down the build 2013-03-22 12:19:31 +00:00
Joe Thornber
edb33dce4c Put build dependencies in for gmock 2013-03-22 12:10:51 +00:00
Joe Thornber
c044c2c729 Convert buffer_t to gmock. 2013-03-22 12:04:38 +00:00
Joe Thornber
e3375443eb gmock stub 2013-03-22 10:55:55 +00:00
Joe Thornber
a560e672b9 Add a script to retrieve and build gmock. 2013-03-22 10:06:31 +00:00
Joe Thornber
52f1aa8a8a cache_check work 2013-03-21 15:45:45 +00:00
Joe Thornber
81d4e5523f Some trivial cucumber tests 2013-03-20 19:44:09 +00:00
Joe Thornber
43d5d8d2a2 cache tools work 2013-03-18 13:56:30 +00:00
Joe Thornber
843cf76d41 cache tools wip 2013-03-15 16:24:17 +00:00
Joe Thornber
907dc34499 rename some parameters 2013-03-15 14:59:32 +00:00
Joe Thornber
2ed1648896 cache tools wip 2013-03-15 14:59:21 +00:00
Joe Thornber
12dff31358 bitset 2013-03-14 13:13:18 +00:00
Joe Thornber
add23c1709 Array data structure 2013-03-13 13:28:03 +00:00
Joe Thornber
3c54e2b23a Updates to array_block 2013-03-13 12:59:11 +00:00
Joe Thornber
11a41c4cf4 Pull ref_counter out of btree.h 2013-03-13 12:58:05 +00:00
Joe Thornber
7d18b08b91 rename NoOpRefCounter -> no_op_ref_counter 2013-02-01 14:49:26 +00:00
Joe Thornber
4eadd9438e add fixme 2013-02-01 12:01:23 +00:00
Joe Thornber
5aaa710b53 [data-structures] array_block 2013-02-01 12:00:49 +00:00
Joe Thornber
92d70ad9c2 [block] read and write refs defined BLOCK_SIZE 2013-02-01 11:55:46 +00:00
Joe Thornber
0f3a9cc567 Merge remote-tracking branch 'github-heinz/Work' into heinz
Conflicts:
	unit-tests/buffer_t.cc
2013-01-29 11:40:56 +00:00
Joe Thornber
7a6d09866a [array] add array_t 2013-01-29 11:35:37 +00:00
Heinz Mauelshagen
1b49f95c0c Introduce COMPILE_TIME_ERROR conditionals around tests failing at compile time 2013-01-23 15:08:05 +01:00
Heinz Mauelshagen
dc06c88758 Joe's BOOST_STATIC_ASSERT addition 2013-01-23 14:39:42 +01:00
Joe Thornber
9e5213530f fix last push 2013-01-23 13:34:38 +00:00
Joe Thornber
aa12870c22 [buffer.h] add static test for alignment 2013-01-23 13:32:33 +00:00
Heinz Mauelshagen
ca7de05e62 buffer_t.cc: more tests 2013-01-23 14:32:03 +01:00
Joe Thornber
c2ab5390cb buffer_t const assignment fails 2013-01-23 13:12:17 +00:00
root
5776ba114c Merge branch 'Work' of git://github.com/lvmguy/thin-provisioning-tools into heinz 2013-01-23 13:06:56 +00:00
Heinz Mauelshagen
0f5fc39694 buffer_t.cc 2013-01-23 14:04:34 +01:00
Joe Thornber
bb3d8b9aee whitespace 2013-01-23 12:54:54 +00:00
Heinz Mauelshagen
78563e1709 buffer.h: remove protected 2013-01-23 13:51:13 +01:00
Heinz Mauelshagen
635eb6949a buffer_t.cc 2013-01-23 13:47:58 +01:00
Heinz Mauelshagen
5f336e4b41 buffer.h: comment 2013-01-23 13:39:23 +01:00
Heinz Mauelshagen
eed2dfdc38 buffer_t.cc: more tests 2013-01-23 13:28:00 +01:00
Heinz Mauelshagen
a762d34009 factored buffer.h out of block.h 2013-01-22 13:46:38 +01:00
Joe Thornber
f19135f768 [block.h] add a TODO list for Heinz 2013-01-22 10:27:00 +00:00
Joe Thornber
67cd406fe9 [transaction_manager_t] remove some duplication 2013-01-22 09:59:06 +00:00
Joe Thornber
23b48f0c54 [unit-tests] Update block_manager constructors to use the block_io<>::mode param. 2013-01-15 05:31:48 +00:00
Joe Thornber
70f1ee6031 [Build] Dependencies weren't being built or included for the unit tests. 2013-01-15 05:29:40 +00:00
Joe Thornber
2aff80ea78 [block_t] remove the test.data file before each test. 2013-01-15 04:07:47 +00:00
Joe Thornber
0455cfbf13 [block] use lseek to size a new block file rather than fallocate.
Which sadly returned operation not supported for some reason.
2013-01-15 04:06:57 +00:00
Joe Thornber
cfdc233fa4 [block_t] All block managers are created in create_bm. 2013-01-15 03:43:21 +00:00
Joe Thornber
fb1ad01e19 Add a CREATE mode to the block_io class. 2013-01-15 03:23:55 +00:00
Joe Thornber
779f8e1fd4 Introduce a mode enum to block_io<> 2013-01-11 20:16:40 +00:00
Joe Thornber
2b86309961 persistent-data/cache.h hadn't been checked in. 2013-01-11 19:31:22 +00:00
Joe Thornber
aacca8d963 Introduce persistent-data/data-structures/ 2013-01-11 19:26:51 +00:00
Joe Thornber
d362fdc867 array data structure wip 2013-01-10 23:00:50 +00:00
Joe Thornber
6f723e6c5a rename run_list -> span 2013-01-10 22:59:54 +00:00