2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-07 03:20:49 +00:00
restic/repository
Alexander Neumann 55ddd5317d Reduce memory usage for fuse mount
This changes `repository.LoadBlob()` so that a destination buffer must
be provided, which enables the fuse code to use a buffer from a
`sync.Pool`. In addition, release the buffers when the file is closed.
At the moment, the max memory usage is defined by the max file size that
is read in one go (e.g. with `cat`). It could be further optimized by
implementing a LRU caching scheme.
2015-07-26 14:25:59 +02:00
..
testdata Add test and benchmark for LoadIndex 2015-07-05 11:07:10 +02:00
blob.go Use array instead of hash for backend.ID 2015-07-25 18:01:57 +02:00
config_test.go repository: Refactor Config 2015-07-05 11:07:10 +02:00
config.go Use array instead of hash for backend.ID 2015-07-25 18:01:57 +02:00
doc.go repository: fix package doc typo 2015-06-28 09:30:33 +02:00
index_test.go Use array instead of hash for backend.ID 2015-07-25 18:01:57 +02:00
index.go Use array instead of hash for backend.ID 2015-07-25 18:01:57 +02:00
key.go Use array instead of hash for backend.ID 2015-07-25 18:01:57 +02:00
parallel_test.go Allow cancelling parallel workers on files 2015-07-05 11:07:10 +02:00
parallel.go Allow cancelling parallel workers on files 2015-07-05 11:07:10 +02:00
pool.go Extract chunker 2015-07-08 16:58:23 -04:00
repository_test.go Reduce memory usage for fuse mount 2015-07-26 14:25:59 +02:00
repository.go Reduce memory usage for fuse mount 2015-07-26 14:25:59 +02:00