Commit Graph

172 Commits

Author SHA1 Message Date
Sebastian Messmer
75253c74ea Key is not default constructible anymore 2015-04-17 12:59:40 +02:00
Sebastian Messmer
4a5416dbec Use unordered_map instead of map for cache 2015-04-17 12:56:21 +02:00
Sebastian Messmer
b41853cd00 Fix renaming 2015-04-16 15:01:59 +02:00
Sebastian Messmer
a555985b2c Adapt to renaming of CachingStore -> ParallelAccessStore 2015-04-16 14:54:04 +02:00
Sebastian Messmer
9fa6b041eb Renamed old Caching2BlockStore to new CachingBlockStore 2015-04-16 14:10:44 +02:00
Sebastian Messmer
248fd0f5cc Renamed old CachingBlockStore to ParallelAccessBlockStore 2015-04-16 13:59:52 +02:00
Sebastian Messmer
6413123838 TODOs 2015-04-15 21:46:15 +02:00
Sebastian Messmer
fdc14cc66c TODOs 2015-04-15 20:43:21 +02:00
Sebastian Messmer
b185729113 Caching blocks works 2015-04-15 20:39:58 +02:00
Sebastian Messmer
332f6901ef New caching store is working, but not timeout-flushing yet 2015-04-15 19:05:58 +02:00
Sebastian Messmer
72f952b57c Added dummy implementation for new caching block store 2015-04-15 15:46:35 +02:00
Sebastian Messmer
cc30dcde10 Fix FakeBlockStore 2015-04-15 14:51:41 +02:00
Sebastian Messmer
afce75b461 Speed up ondisk blockstore by not storing a created block first 2015-04-10 21:51:25 +02:00
Sebastian Messmer
495e458c25 TODOs 2015-04-10 00:57:10 +02:00
Sebastian Messmer
c5d28d19d6 Don't flush when deleting cached block 2015-04-09 23:28:30 +02:00
Sebastian Messmer
3cbc851c19 Implemented encryption 2015-04-09 22:11:40 +02:00
Sebastian Messmer
e210b5b601 EncryptedBlock stores an IV 2015-04-09 21:17:28 +02:00
Sebastian Messmer
711283a89b EncryptedBlockStore handles encryption keys 2015-04-09 20:14:12 +02:00
Sebastian Messmer
990ca6ca26 Generalized Key to FixedSizeData 2015-04-09 20:07:03 +02:00
Sebastian Messmer
86f8ca6dc4 Dummy implementation for EncryptedBlockStore 2015-04-09 19:22:09 +02:00
Sebastian Messmer
4d72087e27 Fix include guard 2015-04-09 19:21:59 +02:00
Sebastian Messmer
fa92202979 Work with new generalized cachingstore 2015-04-09 15:39:49 +02:00
Sebastian Messmer
f2546ff607 Adapt to biicode 2.8 2015-04-08 17:44:18 +02:00
Sebastian Messmer
8a3d731cae Workaround for broken travis biicode deployment 2015-04-08 17:20:10 +02:00
Sebastian Messmer
309a251916 Travis CI needs sudo 2015-04-08 17:01:02 +02:00
Sebastian Messmer
f3d0bfcf68 Use relative paths instead of block-absolute ones 2015-04-08 16:57:04 +02:00
Sebastian Meßmer
ff35d72e34 Use new CachingStore 2015-04-02 12:19:05 -04:00
Sebastian Meßmer
f2129f6dc2 We don't need CachingStore::getKey() 2015-04-02 07:21:52 -04:00
Sebastian Meßmer
c18c028d7f First version of factoring out CachingStore 2015-04-02 07:12:29 -04:00
Sebastian Meßmer
da0efd80c5 Rename SynchronizedBlockStore -> CachingBlockStore 2015-04-02 02:59:43 -04:00
Sebastian Meßmer
e3f7491d2d SynchronizedBlockStore allows concurrent access to the same block, but ensures that the block is only loaded once from the underlying blockstore 2015-03-31 08:02:24 -04:00
Sebastian Meßmer
41600c13f7 Introduce a mutex for OpenBlockList 2015-03-29 08:36:09 -04:00
Sebastian Meßmer
9b5ad835db Implemented SynchronizedBlockStore::remove() 2015-03-29 07:55:57 -04:00
Sebastian Meßmer
5571a42980 Continued working on SynchronizedBlockStore. remove() doesn't work yet. 2015-03-28 13:44:22 -04:00
Sebastian Meßmer
f6669c86c1 Added SynchronizedBlockStore. In this first version, it only synchronizes the direct blockstore functions, but still allows opening the same block twice. This will be forbidden in future commits 2015-03-19 11:16:20 +01:00
Sebastian Meßmer
6d61b896af Remove test that is dependent on gcc optimization level 2015-03-15 09:26:50 +01:00
Sebastian Messmer
bdad3df117 Fix travis 2015-03-13 17:50:32 +01:00
Sebastian Messmer
67f6333df0 Simplify test config for new biicode version 2015-03-13 17:31:46 +01:00
Sebastian Messmer
ac702cb20c Merge branch 'master' into develop 2015-03-12 16:29:21 +01:00
Sebastian Meßmer
d28db748d7 Update LICENCE to LGPL 2015-03-12 16:22:16 +01:00
Sebastian Messmer
44f760382b Use new setup biicode script 2015-03-12 14:50:51 +01:00
Sebastian Messmer
294530c662 Replaced absolute paths to messmer/blockstore/... with relative local paths 2015-03-12 14:27:51 +01:00
Sebastian Messmer
b13b9d8689 Added test cases for BlockStore::write() 2015-03-08 02:15:31 +01:00
Sebastian Messmer
f51f80e5eb TODOs 2015-03-08 01:18:06 +01:00
Sebastian Messmer
ffd9ada260 Test BlockStoreUtils fillWithZeroes() 2015-03-08 00:36:59 +01:00
Sebastian Messmer
71f55361b4 Use parallel build on travis 2015-03-07 01:50:12 +01:00
Sebastian Messmer
044f6c9f8a TODOs 2015-03-06 02:28:41 +01:00
Sebastian Messmer
471ce89421 Removed duplicate test case 2015-03-05 22:40:29 +01:00
Sebastian Messmer
2cb0f4e5de BlockStore only writes changed data back if it actually was changed 2015-03-05 22:16:57 +01:00
Sebastian Messmer
d42bda0ca6 Added Block::write() and removed writeable data() pointer 2015-03-04 20:47:02 +01:00