Commit Graph

1459 Commits

Author SHA1 Message Date
Sebastian Meßmer
e60c3200cd Fix boost thread dependency 2015-10-16 03:12:27 +02:00
Sebastian Meßmer
a158a30696 Add boost thread dependency 2015-10-16 03:02:02 +02:00
Sebastian Meßmer
c51e2c115a Added new random pool library and FixedSizeData:CreatePseudoRandom() uses it. This generates pseudorandom data in another thread and keeps a pool instead of calling the pseudorandom algorithm each time. Since that algorithm needs to be mutexed, that caused quite a lot of locking before 2015-10-16 02:46:17 +02:00
Sebastian Meßmer
0427eaaad0 Merge branch 'develop' of github.com:cryfs/cryfs into develop 2015-10-16 02:38:46 +02:00
Sebastian Meßmer
1c29fecf3c Added unstable warning and fixed daemonization 2015-10-16 02:38:34 +02:00
Sebastian Messmer
c5576a4c1f Fix typo 2015-10-15 18:03:33 +02:00
Sebastian Meßmer
39eaff4533 Unify (and fix) include guards 2015-10-15 13:10:20 +02:00
Sebastian Meßmer
821550e62f Unify (and fix) include guards 2015-10-15 13:09:21 +02:00
Sebastian Meßmer
5f9c2c0611 Unify (and fix) include guards 2015-10-15 13:06:51 +02:00
Sebastian Meßmer
c9663acd85 Unify (and fix) include guards 2015-10-15 13:04:57 +02:00
Sebastian Meßmer
39b43aacfa Unify (and fix) include guards 2015-10-15 12:58:48 +02:00
Sebastian Meßmer
02d89fa721 Unify (and fix) include guards 2015-10-15 12:58:16 +02:00
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