From 0b7c424737e8b0733414882c3e932255ca373faa Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 10 Apr 2018 00:12:28 +0000 Subject: [PATCH] [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 --- llvm/include/llvm/Support/CachePruning.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/Support/CachePruning.h b/llvm/include/llvm/Support/CachePruning.h index f38ce1785961..d82b194a43e1 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; };