results to cache and to servers
Signed-off-by: Gordon Hecker <gh@emlix.com>
* outdated documentation was removed
* a bug was fixed that lead to partial results being left on local servers
or in the cache when copying was interrupted
+ * storing results to cache and to servers is optimized by trying to
+ create hardlinks if possible. This may fail due to filesystem boundaries.
+ In that case the code falls back to copying.
+ Hardlinking is not possible if push_permissions is set for the particular
+ server.
e2factory-2.3.1
* bugfixes
local buildid = res.build_mode.buildid(e2tool.buildid(info, r))
local sourcefile = string.format("%s/result.tar", tmpdir)
local location1 = string.format("%s/%s/%s/result.tar", location, r, buildid)
- local cache_flags = {}
+ local cache_flags = {
+ try_hardlink = true,
+ }
local rc, re = cache.push_file(info.cache, sourcefile, server, location1,
cache_flags)
if not rc then