[PATCH] D40327: CachePruning: Allow limiting the number of files in the cache directory.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 17:49:04 PST 2017


pcc created this revision.
Herald added subscribers: hiraditya, eraman, arichardson, emaste.

The default limit is 1000000 but it can be configured with a cache
policy. The motivation is that some filesystems (notably ext4) have
a limit on the number of files that can be contained in a directory
(separate from the inode limit).


https://reviews.llvm.org/D40327

Files:
  clang/docs/ThinLTO.rst
  lld/test/ELF/lto/cache.ll
  llvm/include/llvm/Support/CachePruning.h
  llvm/lib/Support/CachePruning.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40327.123871.patch
Type: text/x-patch
Size: 5086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171122/cf3f62b7/attachment.bin>


More information about the llvm-commits mailing list