[CachePruning] Fix comment about ext4 per-directory file limit. NFC
authorFangrui Song <maskray@google.com>
Tue, 10 Apr 2018 00:12:28 +0000 (00:12 +0000)
committerFangrui Song <maskray@google.com>
Tue, 10 Apr 2018 00:12:28 +0000 (00:12 +0000)
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

index f38ce17..d82b194 100644 (file)
@@ -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;
 };