Commit Graph

5 Commits (master)

Author SHA1 Message Date
Vitaliy Filippov 9824cb2fb7 Experimental: "cacheless restore" using a seekable stream
Do two passes instead of just sequentially writing all chunks to the standard output.
On the first pass, all "chunk emit" instructions are remembered together with their output
positions indexed by bundle id, and all "byte emit" instructions are executed using seeks.
On the second pass, all remembered "chunk emit" instructions are executed in the bundle
order. This makes zbackup decompress every used bundle only ONCE instead of doing
it (basically the same work) many times while reading different chunks.

This allows for bigger bundle sizes (I use 32M), which reduces the number of files
in the repository and makes it more cloud-storage-sync friendly, and further improves
the compression ratio.
2015-08-20 19:15:10 +03:00
Frank Groeneveld c97c9aa1e3 Add OpenBSD support.
Re-uses most of the Mac OS X changes, but adds a read(2)/write(2) loop instead
of sendfile(2) when renaming across devices, because OpenBSD doesn't have
sendfile(2).
2015-01-22 21:53:08 +01:00
Vladimir Stackov 414dfcdf74 Runtime configuration management done 2015-01-17 20:08:15 +03:00
Am1GO 8f47a9e312 Copyright added to source headers 2014-12-11 10:50:15 +03:00
Am1GO 161b691474 Contributors list moved to separate file 2014-12-10 14:44:44 +03:00