Commit Graph

1547 Commits

Author SHA1 Message Date
Sebastian Messmer
9c433209c2 Speed up DirBlob reads by using Blob::readAll() 2015-10-05 03:44:20 +02:00
Sebastian Messmer
7e54d284e1 Speed up writing back of DirBlobs by another factor of 3 (so 9 in total) by serializing the whole blob and writing it back with one write() call 2015-10-05 02:55:04 +02:00
Sebastian Messmer
af70891d27 Made writing back DirBlobs faster by writing whole entries at once (speedup factor of 3) 2015-10-05 02:35:06 +02:00
Sebastian Messmer
4b84f5d211 Added Data::dataOffset() and made most Data functions inline 2015-10-05 02:28:53 +02:00
Sebastian Messmer
0367df004e Added locks to avoid race conditions in FsBlobStore 2015-10-04 17:37:00 +02:00
Sebastian Messmer
e873418477 Allow specifying own class for ResourceRef 2015-10-04 17:27:26 +02:00
Sebastian Messmer
1977a720df Introduced ParallelAccessFsBlobStore to avoid race conditions when accessing the same FsBlob in parallel 2015-10-04 17:20:14 +02:00
Sebastian Messmer
63fe94ffe6 Add FixedSizeData::Null() 2015-10-04 17:14:32 +02:00
Sebastian Messmer
6e436b7a59 Return reference to keys, don't copy keys 2015-10-04 17:14:02 +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
e07ddaa289 Fix traversing bug and add test case for it 2015-09-30 15:33:09 +02:00
Sebastian Messmer
37f7c764d1 Return better fuse errors 2015-09-30 14:27:29 +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
752be4415c Protect from race conditions happening when the same FsBlob is open multiple times 2015-09-30 14:05:05 +02:00
Sebastian Messmer
e3d2fdb2fd Refactor: Add fsblobstore layer 2015-09-30 13:21:07 +02:00
Sebastian Messmer
faa4b0c6f8 Improve flush() 2015-09-30 13:17:35 +02:00
Sebastian Messmer
8beb5bac0b Improved traverseLeaves implementation: Faster and a bit better understandable 2015-09-30 10:19:06 +02:00
Sebastian Messmer
d72e7c2acd TODOs 2015-09-30 10:06:53 +02:00
Sebastian Messmer
d18edfb1d4 Removed unnecessary private function 2015-09-30 10:04:18 +02:00
Sebastian Messmer
51019502ec Fixed potential race condition in DataTree 2015-09-30 10:02:06 +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
dd39f242a2 Show backtraces on sigsegv 2015-09-29 22:44:19 +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
bf02682734 Error reporting when blob to delete was not found 2015-09-29 18:47:57 +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
c49663842c Written some build instructions in README 2015-09-29 15:51:09 +02:00
Sebastian Messmer
3bf9f7526e Added biicode directory to .gitignore 2015-09-29 15:47:05 +02:00
Sebastian Messmer
dfb030e51b Config file is also configurable with an option 2015-09-29 14:39:10 +02:00
Sebastian Messmer
27d3ffc472 MountDir and BaseDir are configureable via command line 2015-09-29 14:29:10 +02:00
Sebastian Messmer
20f5d739b7 Small refactoring of main() 2015-09-28 13:41:23 +02:00
Sebastian Messmer
623527deaa Update gitversion dependency 2015-09-21 17:16:41 +02:00
Sebastian Messmer
84560c05bf Update messmer/gitversion dependency 2015-09-19 23:26:08 +02:00
Sebastian Messmer
97028b134f Adapt to new gitversion library 2015-09-19 01:02:42 +02:00