Commit Graph

1762 Commits

Author SHA1 Message Date
Sebastian Meßmer
da0efd80c5 Rename SynchronizedBlockStore -> CachingBlockStore 2015-04-02 02:59:43 -04:00
Sebastian Meßmer
e3f7491d2d SynchronizedBlockStore allows concurrent access to the same block, but ensures that the block is only loaded once from the underlying blockstore 2015-03-31 08:02:24 -04:00
Sebastian Meßmer
41600c13f7 Introduce a mutex for OpenBlockList 2015-03-29 08:36:09 -04:00
Sebastian Meßmer
9b5ad835db Implemented SynchronizedBlockStore::remove() 2015-03-29 07:55:57 -04:00
Sebastian Meßmer
5571a42980 Continued working on SynchronizedBlockStore. remove() doesn't work yet. 2015-03-28 13:44:22 -04:00
Sebastian Meßmer
deb1a2462a BlobStore uses synchronized access to its BlockStore 2015-03-19 11:16:50 +01:00
Sebastian Meßmer
f6669c86c1 Added SynchronizedBlockStore. In this first version, it only synchronizes the direct blockstore functions, but still allows opening the same block twice. This will be forbidden in future commits 2015-03-19 11:16:20 +01:00
Sebastian Meßmer
0ffb419bf8 Refactor: FsppFileTest/FsppOpenFileTest use common base class 2015-03-19 05:47:06 +01:00
Sebastian Meßmer
faf7f4a68d TODOs 2015-03-19 05:39:02 +01:00
Sebastian Meßmer
cca0fda340 Prepared FsppOpenFileTest 2015-03-19 05:37:44 +01:00
Sebastian Meßmer
6242448a70 Added some tests to FsppDirTest 2015-03-19 05:32:09 +01:00
Sebastian Meßmer
a0130fb73f Refactor FsppDirTest 2015-03-19 04:36:02 +01:00
Sebastian Meßmer
214b268a1c Refactor FsppDirTest 2015-03-19 04:24:43 +01:00
Sebastian Meßmer
f1a992d187 A CryDir returns . and .. as children 2015-03-19 03:53:21 +01:00
Sebastian Meßmer
24a60d6cb3 Improve FsppDirTest:
* They expect the filesystem to return . and .. as dir entries
 * The test case allows the file system to return the entries in an arbitrary order
2015-03-19 03:52:58 +01:00
Sebastian Meßmer
70bd5a3ea3 Removed code redundancy 2015-03-19 03:24:26 +01:00
Sebastian Meßmer
c662d7c590 TODOs 2015-03-18 02:49:11 +01:00
Sebastian Meßmer
1a2a8c56d3 TODOs 2015-03-18 02:48:23 +01:00
Sebastian Meßmer
56928e68a8 Adapt to new fspp interface 2015-03-18 02:46:06 +01:00
Sebastian Meßmer
564943fe98 Added FsppFileTest: Open, Truncate 2015-03-18 02:45:35 +01:00
Sebastian Meßmer
4d113613d9 Return error if trying to add an already existing entry to a directory 2015-03-18 02:11:10 +01:00
Sebastian Messmer
17ac638e41 Added more test cases to FsppDirTest 2015-03-18 01:46:33 +01:00
Sebastian Messmer
7fdbc9f629 Extended FsppDeviceTest 2015-03-17 12:43:27 +01:00
Sebastian Messmer
3174b67eda Disable warnings 2015-03-17 12:32:09 +01:00
Sebastian Messmer
92bec0afb2 Disable warnings 2015-03-17 12:31:33 +01:00
Sebastian Messmer
a7a87a07dd Add style warnings 2015-03-16 18:32:37 +01:00
Sebastian Messmer
0b58c74f06 Add style warnings 2015-03-16 18:32:11 +01:00
Sebastian Meßmer
990d2a7011 FsTest tests set access permissions correctly 2015-03-16 04:53:35 +01:00
Sebastian Meßmer
afd4c90e21 Add some more tests 2015-03-16 04:37:12 +01:00
Sebastian Meßmer
2c32927587 Add more tests to FsTest 2015-03-16 04:02:45 +01:00
Sebastian Meßmer
c47095474c Use new FsTest 2015-03-16 02:57:01 +01:00
Sebastian Meßmer
cf8dfbd884 Refactor FsTest 2015-03-16 02:56:40 +01:00
Sebastian Meßmer
662c3f8e90 Use the fspp test cases for cryfs 2015-03-16 02:15:51 +01:00
Sebastian Meßmer
6b1bd62975 Added some simple test cases that can be used by file systems to test themselves. Further to come. 2015-03-16 02:14:27 +01:00
Sebastian Meßmer
26bdd6ff3a Move source to src directory 2015-03-16 01:42:50 +01:00
Sebastian Meßmer
6d61b896af Remove test that is dependent on gcc optimization level 2015-03-15 09:26:50 +01:00
Sebastian Messmer
3fa8aa9351 Update dependencies 2015-03-13 18:24:23 +01:00
Sebastian Messmer
a8a37f2d79 Fix travis 2015-03-13 17:51:50 +01:00
Sebastian Messmer
d81dcaf23a Fix travis 2015-03-13 17:50:49 +01:00
Sebastian Messmer
bdad3df117 Fix travis 2015-03-13 17:50:32 +01:00
Sebastian Messmer
f54c901ec8 Change CMakeLists.txt for new biicode version 2015-03-13 17:35:04 +01:00
Sebastian Messmer
a489223641 Simplify test config for new biicode version 2015-03-13 17:33:48 +01:00
Sebastian Messmer
67f6333df0 Simplify test config for new biicode version 2015-03-13 17:31:46 +01:00
Sebastian Messmer
78e5812011 Simplify test config for new biicode version 2015-03-13 17:31:36 +01:00
Sebastian Meßmer
1f0648bb27 Require gcc version that supports what we're doing 2015-03-13 09:42:31 +01:00
Sebastian Messmer
ac6e501b3a Fix travis 2015-03-13 17:51:19 +01:00
Sebastian Messmer
b0926228cc Simplify test config for new biicode version 2015-03-13 17:32:03 +01:00
Sebastian Messmer
68a2fc5212 Merge branch 'master' of github.com:smessmer/blobstore 2015-03-12 16:42:10 +01:00
Sebastian Messmer
ac702cb20c Merge branch 'master' into develop 2015-03-12 16:29:21 +01:00
Sebastian Messmer
19d2e075ec Merge branch 'master' into develop 2015-03-12 16:28:51 +01:00