Commit Graph

713 Commits

Author SHA1 Message Date
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 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
5453627209 Added ParallelAccessStore::isOpened() 2015-10-14 15:01:52 +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
210c2c2811 Fix compiler error in test cases 2015-10-08 18:05:09 +02:00
Sebastian Messmer
260bc1056a Make cache MAX_SIZE configurable 2015-10-07 17:24:13 +02:00
Sebastian Messmer
810c2c5b48 Added some locks against race conditions 2015-10-05 18:54:16 +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
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
4b84f5d211 Added Data::dataOffset() and made most Data functions inline 2015-10-05 02:28:53 +02:00
Sebastian Messmer
e873418477 Allow specifying own class for ResourceRef 2015-10-04 17:27:26 +02:00
Sebastian Messmer
63fe94ffe6 Add FixedSizeData::Null() 2015-10-04 17:14:32 +02:00
Sebastian Messmer
d9410488a7 Removed debug output 2015-10-03 02:34:46 +02:00
Sebastian Messmer
6dec27253c Fix assert test case 2015-10-03 01:30:42 +02:00
Sebastian Messmer
b617378430 Add a lock library 2015-10-03 01:23:39 +02:00
Sebastian Messmer
0bb278bcdd Fix backtraces in asserts 2015-10-03 01:23:30 +02:00
Sebastian Messmer
3fed6f13cb Removed testcases for constexpr 2015-10-03 01:01:48 +02:00
Sebastian Messmer
73101b74ea Better locking for cache 2015-10-01 15:52:43 +02:00
Sebastian Messmer
84330b1100 Cache has better parallelity - we can push()/pop() while it is flushing and flushing is actually parallel 2015-10-01 13:51:01 +02:00
Sebastian Messmer
c8c13517e0 TODOs 2015-10-01 02:00:34 +02:00
Sebastian Messmer
942a627173 Better fix for Cache race condition 2015-10-01 01:52:21 +02:00
Sebastian Messmer
90471ea6a3 Fixed Cache race condition and added test for it 2015-10-01 01:20:40 +02:00
Sebastian Messmer
6e8aec1a4c Each-operation-logging can be switched on by changing a single line 2015-09-30 14:13:26 +02:00
Sebastian Messmer
ac87c18a35 Add TODO 2015-09-29 22:52:06 +02:00
Sebastian Messmer
82e8c1d225 TODOs 2015-09-29 22:44:33 +02:00
Sebastian Messmer
f3d3d70a5b Failed assertions output a backtrace, furthermore added a small library that outputs backtraces on sigsegv 2015-09-29 22:43:55 +02:00
Sebastian Messmer
a7e8be1e04 Added fspp profiling 2015-09-29 21:47:50 +02:00
Sebastian Messmer
c9f07762a4 Removed unnecessary debug calculation 2015-09-29 20:04:12 +02:00
Sebastian Messmer
959ef62a38 Cache is flushed in parallel 2015-09-29 20:01:51 +02:00
Sebastian Messmer
a6088aae29 Removed debug output 2015-09-29 18:58:32 +02:00
Sebastian Messmer
52bb855627 EncryptedBlockStore crashed when a modified block was removed. Fixed crash and added test case. 2015-09-29 18:51:59 +02:00
Sebastian Messmer
188bbe0c6d Added potential log message for rmdir 2015-09-29 18:48:59 +02:00
Sebastian Messmer
04be739b2e Removed unneeded constexpr library 2015-09-29 18:47:28 +02:00
Sebastian Messmer
6d8ffbb5bc Added potential logging statements for chmod/chown 2015-09-29 16:38:24 +02:00
Sebastian Messmer
819e48b446 Allow outputting const_string to std::ostream 2015-09-18 22:08:56 +02:00