Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: 8be1979f1ae4b85c36988f7b3cf8240c9682dc54
https://github.com/NixOS/nix/commit/8be1979f1ae4b85c36988f7b3cf8240c9682dc54
Author: Eelco Dolstra <[email protected]>
Date: 2012-03-26 (Mon, 26 Mar 2012)
Changed paths:
M doc/manual/nix-store.xml
M src/libstore/gc.cc
M src/libstore/remote-store.cc
M src/libstore/store-api.cc
M src/libstore/store-api.hh
M src/nix-store/nix-store.cc
M src/nix-worker/nix-worker.cc
Log Message:
-----------
Remove the --max-links GC option
We don't need this anymore now that current filesystems support more
than 32,000 files in a directory.
Commit: 117670be570d775a18e4e35db3dae00abc24f729
https://github.com/NixOS/nix/commit/117670be570d775a18e4e35db3dae00abc24f729
Author: Eelco Dolstra <[email protected]>
Date: 2012-03-26 (Mon, 26 Mar 2012)
Changed paths:
M src/libstore/gc.cc
M src/libstore/local-store.cc
M src/libstore/local-store.hh
Log Message:
-----------
Make the garbage collector more concurrent
Make the garbage collector more concurrent by deleting valid paths
outside the region where we're holding the global GC lock. This
should greatly reduce the time during which new builds are blocked,
since the deletion accounts for the vast majority of the time spent in
the GC.
To ensure that this is safe, the valid paths are invalidated and
renamed to some arbitrary path while we're holding the lock. This
ensures that we when we finally delete the path, it's not a (newly)
valid or locked path.
Commit: 480dda0e42e69be47434be5bce95be950bdb59b5
https://github.com/NixOS/nix/commit/480dda0e42e69be47434be5bce95be950bdb59b5
Author: Eelco Dolstra <[email protected]>
Date: 2012-03-26 (Mon, 26 Mar 2012)
Changed paths:
M src/libstore/gc.cc
Log Message:
-----------
Delete non-directory valid paths right away
It's unlikely that rename() is faster than unlink() on a regular file
or symlink, so don't bother.
Compare: https://github.com/NixOS/nix/compare/19d9762...480dda0
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits