aboutsummaryrefslogtreecommitdiff
path: root/nix/libstore/pathlocks.hh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-10-28 20:34:15 +0200
committerLudovic Courtès <ludo@gnu.org>2016-10-28 22:30:17 +0200
commit12b6c951cf5ca6055a22a2eec85665353f5510e5 (patch)
treed5350f52cf28075df53819e8912c97c84a86eb12 /nix/libstore/pathlocks.hh
parentb1fd0ab73425e682a0a1404da6963f47a033bb34 (diff)
downloadpatches-12b6c951cf5ca6055a22a2eec85665353f5510e5.tar
patches-12b6c951cf5ca6055a22a2eec85665353f5510e5.tar.gz
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 'nix/libstore/pathlocks.hh')
0 files changed, 0 insertions, 0 deletions