Sebastian Messmer
d540adfdfa
Added assert and improved ordering of data in directory blobs
2016-02-09 13:05:16 +01:00
Sebastian Messmer
88e6164d35
Improve platform indepdendence of directory blobs
2016-02-09 12:37:30 +01:00
Sebastian Messmer
b0beb6b350
Fully support file access times
2016-02-09 09:51:35 +01:00
Sebastian Messmer
452519ed0b
Implement storing file access times.
...
Feature is not enabled yet, because this would break compatiblity with file systems from old CryFS versions (will be enabled in CryFS 0.9.0).
However, it already fixes https://github.com/cryfs/cryfs/issues/4 because it doesn't say 'operation not supported' anymore when modifying file times
2016-02-09 09:43:18 +01:00
Sebastian Messmer
3427cf71b3
Adapt to new fspp (which got the symlink fix in 8092bfef8e
)
2016-02-06 13:04:02 +01:00
Sebastian Messmer
5319859700
Adapt to new blobstore which supports blobs >4GB
2015-12-11 00:27:26 +01:00
Sebastian Messmer
0959971b93
Adapt to new fspp interface
2015-12-07 12:14:06 +01:00
Sebastian Messmer
6786508148
Make classes final if they're not meant to be derived from
2015-11-27 14:06:17 +01:00
Sebastian Messmer
3e7af232e7
Better error reporting when root directory is suddenly not accessible anymore
2015-11-16 22:05:25 -08:00
Sebastian Messmer
978e7dbc46
--unmount-idle x automatically unmounts the filesystem after x minutes without a filesystem operation.
2015-11-12 15:06:53 -08:00
Sebastian Messmer
cdf0025b15
If basedir doesn't exist, immediately quit with error message. Also added test case for this behaviour.
2015-10-29 16:04:20 +01:00
Sebastian Messmer
0d5a7d9d10
Adapt to cpputils crypto library
2015-10-27 23:46:54 +01:00
Sebastian Messmer
371303ae6a
Config file is AES256_GCM encrypted, the config file key is generated with scrypt
2015-10-24 19:35:37 +02:00
Sebastian Messmer
2104a85e95
Refactor config file handling
2015-10-19 02:46:47 +02:00
Sebastian Meßmer
03ad5cbe45
Fix -Weffc++ warnings
2015-10-17 21:33:41 +02:00
Sebastian Meßmer
5f9c2c0611
Unify (and fix) include guards
2015-10-15 13:06:51 +02:00
Sebastian Messmer
f5f8dc7939
Removed debug output
2015-10-14 15:38:57 +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
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
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
d9821c2623
Directory Blobs store block keys in binary instead of string
2015-10-05 04:49:04 +02:00
Sebastian Messmer
abde844932
Fix includes
2015-10-05 03:56:37 +02:00
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
0367df004e
Added locks to avoid race conditions in FsBlobStore
2015-10-04 17:37:00 +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
37f7c764d1
Return better fuse errors
2015-09-30 14:27:29 +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
dd39f242a2
Show backtraces on sigsegv
2015-09-29 22:44:19 +02:00
Sebastian Messmer
bf02682734
Error reporting when blob to delete was not found
2015-09-29 18:47:57 +02:00
Sebastian Messmer
8db80d5ebf
Refactor directory structure
2015-09-12 20:16:13 +02:00