Commit Graph

2083 Commits

Author SHA1 Message Date
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
Sebastian Messmer
628f4edec0 Don't flush if not necessary 2015-04-09 23:29:29 +02:00
Sebastian Messmer
c5d28d19d6 Don't flush when deleting cached block 2015-04-09 23:28:30 +02:00
Sebastian Messmer
8a582a2396 Fix broken biicode.conf 2015-04-09 22:14:41 +02:00
Sebastian Messmer
853a364c92 Merge branch 'develop' of github.com:smessmer/cryfs into develop 2015-04-09 22:12:55 +02:00
Sebastian Messmer
3cbc851c19 Implemented encryption 2015-04-09 22:11:40 +02:00
Sebastian Messmer
5596544365 CryFS uses an encrypted blockstore 2015-04-09 21:17:52 +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
859703a67b Work with new blockstore::Key 2015-04-09 20:07:33 +02:00
Sebastian Messmer
4b04226162 Work with new blockstore::Key 2015-04-09 20:07:21 +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
698cc41db5 TODOs 2015-04-09 19:09:39 +02:00
Sebastian Messmer
8b7601f216 Fix travis build 2015-04-09 18:45:25 +02:00
Sebastian Messmer
25a3ab8a22 Workaround for biicode boost 2015-04-09 18:27:29 +02:00
Sebastian Messmer
3f43dcfe10 Fix locking 2015-04-09 16:30:36 +02:00
Sebastian Messmer
9a959cfab9 DataTree is threadsafe 2015-04-09 16:10:57 +02:00
Sebastian Messmer
84401b9abf Use CachingDataTreeStore instead of DataTreeStore to avoid opening the same datatree twice in different threads 2015-04-09 15:40:27 +02:00
Sebastian Messmer
fa92202979 Work with new generalized cachingstore 2015-04-09 15:39:49 +02:00
Sebastian Messmer
8a8b306f3d Generalize a bit 2015-04-09 15:39:32 +02:00
Sebastian Messmer
51373550ae Added test section to biicode.conf 2015-04-08 18:34:33 +02:00
Sebastian Messmer
64fcd2094a Adapt to biicode 2.8 2015-04-08 17:44:34 +02:00
Sebastian Messmer
b5391a7d64 Adapt to biicode 2.8 2015-04-08 17:44:31 +02:00
Sebastian Messmer
85f1d1f59f Adapt to biicode 2.8 2015-04-08 17:44:29 +02:00
Sebastian Messmer
dc0154ecd1 Adapt to biicode 2.8 2015-04-08 17:44:20 +02:00
Sebastian Messmer
f2546ff607 Adapt to biicode 2.8 2015-04-08 17:44:18 +02:00
Sebastian Messmer
e4e452ddd2 Adapt to biicode 2.8 2015-04-08 17:44:15 +02:00
Sebastian Messmer
c68eee1de4 Workaround for broken travis biicode deployment 2015-04-08 17:20:25 +02:00
Sebastian Messmer
8da0f4abc6 Workaround for broken travis biicode deployment 2015-04-08 17:20:22 +02:00
Sebastian Messmer
3e343fda47 Workaround for broken travis biicode deployment 2015-04-08 17:20:19 +02:00