aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-04-10 00:12:28 +0000
committerFangrui Song <maskray@google.com>2018-04-10 00:12:28 +0000
commit0b7c424737e8b0733414882c3e932255ca373faa (patch)
treec283a53aa2471b56f5b0de0fbef2824f84e34415
parent4be03390233986df3c3fbe3a8f2b0d04de06a34a (diff)
downloadllvm-0b7c424737e8b0733414882c3e932255ca373faa.zip
llvm-0b7c424737e8b0733414882c3e932255ca373faa.tar.gz
llvm-0b7c424737e8b0733414882c3e932255ca373faa.tar.bz2
[CachePruning] Fix comment about ext4 per-directory file limit. NFC
There is a limit on number of subdirectories if dir_nlinks is not enabled (31998), but per-directory number of files is not limited. llvm-svn: 329648
-rw-r--r--llvm/include/llvm/Support/CachePruning.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/include/llvm/Support/CachePruning.h b/llvm/include/llvm/Support/CachePruning.h
index f38ce17..d82b194 100644
--- a/llvm/include/llvm/Support/CachePruning.h
+++ b/llvm/include/llvm/Support/CachePruning.h
@@ -52,9 +52,8 @@ struct CachePruningPolicy {
/// the number of files based pruning.
///
/// This defaults to 1000000 because with that many files there are
- /// diminishing returns on the effectiveness of the cache, and some file
- /// systems have a limit on how many files can be contained in a directory
- /// (notably ext4, which is limited to around 6000000 files).
+ /// diminishing returns on the effectiveness of the cache, and file
+ /// systems have a limit on total number of files.
uint64_t MaxSizeFiles = 1000000;
};