Commit Graph

25 Commits

Author SHA1 Message Date
Joe Thornber
36169d399c [unit-tests] add failing test.
You currently can get a read lock when a write lock is already held.
2017-08-14 14:20:59 +01:00
Joe Thornber
4f54245600 [block_t] add check_raw to mock 2016-04-21 14:31:52 +01:00
Ming-Hung Tsai
778c153c1e [block-cache] Add check_raw() to bcache::validator 2016-02-27 15:21:13 +08:00
Joe Thornber
3724f78a13 [block_t] Fix a validator test 2014-08-21 11:51:04 +01:00
Joe Thornber
f06a2673c5 wip 2014-07-29 11:34:26 +01:00
Joe Thornber
d517684c95 Initial code drop for merging block_cache 2014-07-22 16:41:39 +01:00
Joe Thornber
0e074306a9 Document unit test issue with g++ 4.8.1 2013-06-26 11:28:36 +01:00
Joe Thornber
730f3b9f9a Get unit-tests building with g++ 4.8.1 2013-06-25 14:18:38 +01:00
Joe Thornber
925dbdbc53 [block_t] verify any exception thrown by validator->check() gets passed up, and the lock is not consequently taken. 2013-04-29 12:32:04 +01:00
Joe Thornber
a0f53f47aa [block_t] a superblock_zero test was mistakenly calling plain write_lock. 2013-04-29 12:05:55 +01:00
Joe Thornber
1fe0df9f1a [block_t] make sure validator->check isn't called unexpectedly. 2013-04-29 12:03:47 +01:00
Joe Thornber
b1e0ca2207 [block] make sure we can change validators 2013-04-26 15:54:15 +01:00
Joe Thornber
9ed0ecabfe block_t to gmock 2013-03-22 14:43:15 +00:00
Joe Thornber
5aaa710b53 [data-structures] array_block 2013-02-01 12:00:49 +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
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
ab7124e441 block_t and cache_t fully operational again. 2013-01-07 16:39:02 +00:00
Heinz Mauelshagen
8cf27fdbb0 Correct copyright year 2011-12-15 19:34:31 +01:00
Joe Thornber
bfe22274d9 actually add the copyright 2011-12-06 13:53:05 +00:00
Joe Thornber
cc9dab3ead --amend 2011-12-06 13:43:56 +00:00
Joe Thornber
d02fcde793 add a cache to the block manager 2011-10-24 18:04:19 +01:00
Joe Thornber
97f8d913e2 first pass at cache 2011-10-21 17:07:19 +01:00
Joe Thornber
a285fee757 get unit-tests working with g++ 4.4 2011-08-30 12:47:42 +01:00
Joe Thornber
9be40b76b5 create a separate unit-tests dir 2011-08-22 10:42:13 +01:00