Joe Thornber
|
4deb1751a6
|
stop using O_DIRECT until the cach does async io
|
2013-07-09 16:52:31 +01:00 |
|
Joe Thornber
|
6706493304
|
Remove some global 'using namespace's
|
2013-05-28 13:48:10 +01:00 |
|
Joe Thornber
|
0dba0abe88
|
Bump up the nr of blocks in the cache from 64 to 1024.
|
2013-05-13 12:34:52 +01:00 |
|
Joe Thornber
|
a7c0b0c39b
|
[block, lock_checker] add an is_locked() method for use in unit tests.
|
2013-04-29 12:31:30 +01:00 |
|
Joe Thornber
|
b1e0ca2207
|
[block] make sure we can change validators
|
2013-04-26 15:54:15 +01:00 |
|
Joe Thornber
|
53ac7b8119
|
[block_manager] Allow people to change the validator for a block
|
2013-04-26 14:14:28 +01:00 |
|
Joe Thornber
|
0b4c359a63
|
[block manager] The dirty flag for blocks was never being cleared, causes redundant writes.
|
2013-04-26 13:18:24 +01: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
|
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
|
1cc6737c26
|
Remove the typedef block_ptr and change code to use block::ptr instead
|
2013-01-10 11:02:06 +00:00 |
|
Joe Thornber
|
3e39e8bfeb
|
A big raft of changes to the unit-tests
|
2013-01-09 20:24:11 +00:00 |
|
Joe Thornber
|
26b97908bd
|
Add superblock_lock method to lock_tracker.
|
2013-01-07 15:30:51 +00:00 |
|
Joe Thornber
|
2a427ca925
|
Add persistent_data/lock_tracker for more sanity checking.
|
2013-01-07 14:59:41 +00:00 |
|
Joe Thornber
|
282e98a6b1
|
Move source into separate sub directories.
|
2013-01-02 12:55:41 +00:00 |
|