Commit Graph

1772 Commits

Author SHA1 Message Date
Sebastian Messmer
f3d0bfcf68 Use relative paths instead of block-absolute ones 2015-04-08 16:57:04 +02:00
Sebastian Meßmer
354de197ff Add some asserts 2015-04-08 14:15:11 +02:00
Sebastian Meßmer
ea8291856e Merge branch 'develop' 2015-04-04 17:11:16 +02:00
Sebastian Meßmer
2674a99d64 Initial commit 2015-04-04 22:10:15 +02:00
Sebastian Meßmer
ff35d72e34 Use new CachingStore 2015-04-02 12:19:05 -04:00
Sebastian Meßmer
9de711b881 Refactoring 2015-04-02 12:18:44 -04:00
Sebastian Meßmer
5578af3948 Initial version 2015-04-02 11:39:44 -04:00
Sebastian Meßmer
f2129f6dc2 We don't need CachingStore::getKey() 2015-04-02 07:21:52 -04:00
Sebastian Meßmer
c18c028d7f First version of factoring out CachingStore 2015-04-02 07:12:29 -04:00
Sebastian Meßmer
9b4f8c2030 Adapt to the blockstore change (SynchronizedBlockStore was renamed to CachingBlockStore) 2015-04-02 03:00:06 -04:00
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