Commit Graph

2714 Commits

Author SHA1 Message Date
Sebastian Messmer
27e376c121 TODOs 2015-04-21 23:20:54 +02:00
Sebastian Messmer
8165ca39bc Simplified readdir 2015-04-21 23:19:50 +02:00
Sebastian Messmer
b96cc48639 Implemented chmod/chown and fixed some minor details 2015-04-21 23:18:50 +02:00
Sebastian Messmer
f8b26d31e3 Added chmod/chown 2015-04-21 21:08:23 +02:00
Sebastian Meßmer
ef7097a299 Fix dependencies for travis 2015-04-18 17:28:01 +02:00
Sebastian Meßmer
342d956739 Fix travis 2015-04-18 17:11:49 +02:00
Sebastian Meßmer
17f6a38629 Removed unneccessary flushes 2015-04-18 17:06:55 +02:00
Sebastian Meßmer
82266b4ced Fix travis 2015-04-18 17:01:54 +02:00
Sebastian Meßmer
73b060c863 Add dependency to boost thread 2015-04-18 17:01:06 +02:00
Sebastian Meßmer
90c7bad8d6 Removed debug output 2015-04-18 16:59:44 +02:00
Sebastian Meßmer
c1551121c8 Cache-Entries are purged after a max lifetime 2015-04-18 16:50:19 +02:00
Sebastian Meßmer
c18893c151 Don't encrypt and re-decrypt when creating a block, but keep plaintext data 2015-04-18 15:10:42 +02:00
Sebastian Meßmer
f2adbf01df Adapt to new blockstore 2015-04-18 14:52:38 +02:00
Sebastian Meßmer
417a701636 - BlockStore::create() gets the data of the new block as a parameter
- Fixed numBlocks() in OnDiskBlockStore, FakeBlockStore, CachingBlockStore, ...
- CachingBlockStore caches created blocks and doesn't directly create them in the underlying blockstore
2015-04-18 14:47:12 +02:00
Sebastian Messmer
5e753ae706 Use unordered_map instead of map 2015-04-17 17:39:07 +02:00
Sebastian Messmer
18e7d68f15 Added test cases checking that numBlocks() works correctly when a created block is not destructed yet 2015-04-17 13:27:17 +02:00
Sebastian Messmer
c7eab5c504 Removed unused function 2015-04-17 13:20:16 +02:00
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
9eec7a8c74 Resolve compatibility issue 2015-04-16 16:36:25 +02:00
Sebastian Messmer
b41853cd00 Fix renaming 2015-04-16 15:01:59 +02:00
Sebastian Messmer
8593963c45 Renamed CachingDataTreeStore to ParallelAccessDataTreeStore 2015-04-16 15:01:49 +02:00
Sebastian Messmer
a555985b2c Adapt to renaming of CachingStore -> ParallelAccessStore 2015-04-16 14:54:04 +02:00
Sebastian Messmer
d15a355464 Renamed to ParallelAccessStore 2015-04-16 14:52:06 +02:00
Sebastian Messmer
7b40e22279 Adapt to new blockstore 2015-04-16 14:11:07 +02:00
Sebastian Messmer
84d1c55bc1 Adapt to new blockstore 2015-04-16 14:10:58 +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
74381f2cdd Cleanup deleted blocks 2015-04-15 21:44:35 +02:00
Sebastian Messmer
fdc14cc66c TODOs 2015-04-15 20:43:21 +02:00
Sebastian Messmer
54e0bbc7d3 Use block caching and increase block size 2015-04-15 20:42:14 +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
821254f9d8 Removed workaround for bug in old biicode version (fixed in biicode 3.0) 2015-04-15 14:34:15 +02:00
Sebastian Messmer
7d4618229b Implement renaming 2015-04-11 01:42:20 +02:00
Sebastian Messmer
0b2bf1d7b3 Work with new fspp 2015-04-10 23:29:16 +02:00
Sebastian Messmer
f746d83141 Generalize remove for dirs and files 2015-04-10 23:24:28 +02:00
Sebastian Messmer
de8c697dfc Experimented a bit with block size 2015-04-10 23:17:23 +02:00
Sebastian Messmer
eaa60d3a53 - Use one block flush less when growing by a traversal (the one that grows the old last leaf to max size)
- Fix numLEaves() calculation
2015-04-10 22:57:29 +02:00
Sebastian Messmer
bee68464dc When traversing a blob out of range, automatically create the leaves up to the traversed point 2015-04-10 21:52:30 +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
9ecbe437ab - Refactor DirBlob: Keep an in-memory vector of the dir entries instead of regularly parsing it
- Implement file deletion and dir deletion
2015-04-10 00:52:00 +02:00
Sebastian Messmer
bb98e9b31d Fix test cases for new flushing policy 2015-04-10 00:10:49 +02:00
Sebastian Messmer
787d4f5382 Workaround for broken biicode on travis 2015-04-10 00:06:02 +02:00
Sebastian Messmer
c43612fae6 Implement CryOpenFile::flush 2015-04-09 23:42:04 +02:00
Sebastian Messmer
e3f7b47440 Allow Blob::flush 2015-04-09 23:41:51 +02:00