about summary refs log tree commit diff
path: root/src/libstore/http-binary-cache-store.cc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-11-14T12·33+0100
committerEelco Dolstra <edolstra@gmail.com>2016-11-14T12·35+0100
commitccb10220228250066e8dc487894fb1e11b338c48 (patch)
tree88c2a5c4b52781eccc87d150edf9d58c018ea768 /src/libstore/http-binary-cache-store.cc
parentb8d9616af141ff669c94308da3b40f8be824cc83 (diff)
daemon: Do not error out when deduplication fails due to ENOSPC.
This solves a problem whereby if /gnu/store/.links had enough entries,
ext4's directory index would be full, leading to link(2) returning
ENOSPC.

* nix/libstore/optimise-store.cc (LocalStore::optimisePath_): Upon
ENOSPC from link(2), print a message and return instead of throwing a
'SysError'.
Diffstat (limited to 'src/libstore/http-binary-cache-store.cc')
0 files changed, 0 insertions, 0 deletions