Commit Graph

1547 Commits

Author SHA1 Message Date
Sebastian Meßmer
9a27cea138 Increase parallelity level for cache flushing 2015-10-15 05:45:49 +02:00
Sebastian Meßmer
cd32499180 Workaround compiler warning 2015-10-15 05:27:31 +02:00
Sebastian Meßmer
7103b3ab07 Fix test cases 2015-10-15 05:26:05 +02:00
Sebastian Meßmer
92d0d073a5 Fix test cases 2015-10-15 04:49:31 +02:00
Sebastian Meßmer
c150c66534 Don't let FUSE do daemonization, because it won't fork other threads than the main thread. Force applications to do daemonization themselves. 2015-10-15 03:41:02 +02:00
Sebastian Meßmer
498679f6d4 Add daemonize utils 2015-10-15 03:39:02 +02:00
Sebastian Meßmer
daf330a07f Fix daemonize() behaviour. CryFS now works correctly when called without '-f' 2015-10-15 03:38:44 +02:00
Sebastian Messmer
ff8eae5293 Added performance warning in debug builds 2015-10-15 00:16:00 +02:00
Sebastian Messmer
6d5c3aab4c Disable profiling 2015-10-14 15:39:44 +02:00
Sebastian Messmer
976edaed0c Updated dependencies 2015-10-14 15:39:10 +02:00
Sebastian Messmer
f5f8dc7939 Removed debug output 2015-10-14 15:38:57 +02:00
Sebastian Messmer
f9769d0f6a Update dependencies 2015-10-14 15:37:52 +02:00
Sebastian Messmer
5453627209 Added ParallelAccessStore::isOpened() 2015-10-14 15:01:52 +02:00
Sebastian Messmer
ba860a771d Resolved TODOs (was a bug in the cpputils library, was fixed there) 2015-10-14 15:01:08 +02:00
Sebastian Messmer
b402d99fff Fix includes 2015-10-14 14:50:31 +02:00
Sebastian Messmer
2385c4ac0e TODOs 2015-10-14 14:43:18 +02:00
Sebastian Messmer
0e1ec6829a Added assert 2015-10-14 14:40:53 +02:00
Sebastian Messmer
2ccdcb5b98 Cache destructs elements in parallel in destructor 2015-10-14 14:40:45 +02:00
Sebastian Messmer
6fd2727592 Update dependencies 2015-10-14 14:39:35 +02:00
Sebastian Messmer
a00795588b Updated dependencies 2015-10-14 14:38:29 +02:00
Sebastian Messmer
8b99d277a2 FixedSizeData::CreatePseudoRandom() is threadsafe 2015-10-14 14:38:22 +02:00
Sebastian Messmer
c27dddf429 Added assertion 2015-10-14 14:38:04 +02:00
Sebastian Messmer
1f2357ec56 Merge branch 'develop' of github.com:cryfs/cryfs into develop 2015-10-14 02:17:54 +02:00
Sebastian Messmer
f90e2edfef TODOs 2015-10-14 02:17:50 +02:00
Sebastian Meßmer
d21fe18c39 TODO 2015-10-12 04:40:59 +02:00
Sebastian Messmer
210c2c2811 Fix compiler error in test cases 2015-10-08 18:05:09 +02:00
Sebastian Messmer
66cd99b0ff Use hinted linear search instead of binary search 2015-10-08 01:19:44 +02:00
Sebastian Messmer
bf3a028204 DirEntryList keeps its items sorted by key - this allows faster accesses 2015-10-07 21:41:00 +02:00
Sebastian Messmer
3f782a330f Configure cache size for DirBlob cache 2015-10-07 17:24:28 +02:00
Sebastian Messmer
260bc1056a Make cache MAX_SIZE configurable 2015-10-07 17:24:13 +02:00
Sebastian Messmer
19c1c0e28e Refactoring: Factor out a DirEntryList class from DirBlob 2015-10-07 13:45:17 +02:00
Sebastian Messmer
81e856fda2 Fix DirBlob::releaseBaseBlob() 2015-10-05 19:09:17 +02:00
Sebastian Messmer
e890222c77 Write back DirBlob when baseBlob is released 2015-10-05 18:54:51 +02:00
Sebastian Messmer
810c2c5b48 Added some locks against race conditions 2015-10-05 18:54:16 +02:00
Sebastian Messmer
e5fcf6a9bc Comments 2015-10-05 17:07:16 +02:00
Sebastian Messmer
44fb3011ed Add a CachingFsBlobStore 2015-10-05 16:58:33 +02:00
Sebastian Messmer
2a938730e7 Test cases print stack trace on sigsegv 2015-10-05 16:56:53 +02:00
Sebastian Messmer
cc2f93af92 Test cases print stack trace on sigsegv 2015-10-05 16:54:41 +02:00
Sebastian Messmer
cd5094ff92 Added asserts that there are no open blocks when destructor runs 2015-10-05 16:54:31 +02:00
Sebastian Messmer
d47020e781 Test cases print stack trace on sigsegv 2015-10-05 16:52:49 +02:00
Sebastian Messmer
58f7024919 Test cases print stack trace on sigsegv 2015-10-05 16:52:06 +02:00
Sebastian Messmer
78dbe6ea24 Test cases print stack trace on sigsegv 2015-10-05 16:51:49 +02:00
Sebastian Messmer
5bb77adc87 Added Cache::size() 2015-10-05 16:51:36 +02:00
Sebastian Messmer
fa35e6f644 Failed asserts show a pretty printed stacktrace 2015-10-05 15:46:50 +02:00
Sebastian Messmer
e78cd1db91 Demangle backtrace 2015-10-05 14:58:16 +02:00
Sebastian Messmer
d9821c2623 Directory Blobs store block keys in binary instead of string 2015-10-05 04:49:04 +02:00
Sebastian Messmer
abde844932 Fix includes 2015-10-05 03:56:37 +02:00
Sebastian Messmer
b8f42ee9e5 TODOs 2015-10-05 03:54:18 +02:00
Sebastian Messmer
0d09501a38 Activate ASSERT 2015-10-05 03:46:39 +02:00
Sebastian Messmer
ca9f3fe2e6 Introduce Blob::readAll() and introduce a size cache so the blob size doesn't have to be queried so often 2015-10-05 03:45:00 +02:00