aboutsummaryrefslogtreecommitdiff
path: root/tests/store-deduplication.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2019-12-08 19:15:15 +0100
committerJulien Lepiller <julien@lepiller.eu>2019-12-08 19:19:04 +0100
commit5ffcd84a54f08615b65863c4db5bb0d38fa9e508 (patch)
treef61e46cfb3305458a74e43fcaf054cfda17264d4 /tests/store-deduplication.scm
parent9fcf28205826564a05cfccba301ac3b09d17e86d (diff)
downloadguix-5ffcd84a54f08615b65863c4db5bb0d38fa9e508.tar.gz
guix-5ffcd84a54f08615b65863c4db5bb0d38fa9e508.zip
gnu: youtube-dl: Update to 2019.11.28.
* gnu/packages/video.scm (youtube-dl): Update to 2019.11.28.
Diffstat (limited to 'tests/store-deduplication.scm')
0 files changed, 0 insertions, 0 deletions
rocess and ignore SIGKILL status in parent. Co-authored-by: Jan Nieuwenhuizen <janneke@gnu.org> Manolis Ragkousis 2020-01-12daemon: Account for deleted store files when deduplication is on....Previously, a store item that is a regular file would not be accounted for in the 'bytesFreed' value computed by 'deletePath' because its 'st_nlink' count would always be >= 2. This commit fixes that. * nix/libutil/util.hh (deletePath): Add optional 'linkThreshold' argument. * nix/libutil/util.cc (_deletePath): Add 'linkThreshold' argument and honor it. Pass it down in recursive call. (deletePath): Add 'linkThreshold' and honor it. * nix/libstore/gc.cc (LocalStore::deleteGarbage): Pass 'linkThreshold' argument to 'deletePath', with a value of 2 when PATH is a store item and deduplication is on. Ludovic Courtès 2019-11-29daemon: 'pathExists' uses 'statx' when available....* nix/libutil/util.cc (pathExists) [HAVE_STATX]: New code. Ludovic Courtès 2019-11-27daemon: 'deletePath' uses 'statx' when available....* nix/libutil/util.cc (_deletePath) [HAVE_STATX]: Use 'statx'. Ludovic Courtès