bug#22774: Bootstrapping issue with HTTPS downloads

2016-11-13 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > The ‘wip-oob-download’ implements “out-of-band downloads”, whereby > downloads are performed by the daemon on behalf of clients. > > This works by adding a “built-in builder” in the daemon (idea stolen > from the Nix daemon): if you specify “builtin:downlo

bug#24937: "deleting unused links" GC phase is too slow

2016-11-13 Thread Ludovic Courtès
‘LocalStore::removeUnusedLinks’ traverses all the entries in /gnu/store/.links and calls lstat(2) on each one of them and checks ‘st_nlink’ to determine whether they can be deleted. There are two problems: lstat(2) can be slow on spinning disks as found on hydra.gnu.org, and the algorithm is propo