private static @NotNull VFSContentStorage createContentStorage_makeStorage(@NotNull Path contentsHashesFile,
                                                                             @NotNull Path contentsFile) throws IOException {
    if (FSRecordsImpl.USE_CONTENT_STORAGE_OVER_MMAPPED_FILE) {
      //Use larger pages: content storage is usually quite big.
      int pageSize = 64 * IOUtil.MiB;

      if (pageSize <= FileUtilRt.LARGE_FOR_CONTENT_LOADING) {
        //pageSize is an upper limit on record size for AppendOnlyLogOverMMappedFile:
        LOG.warn("ContentStorage.pageSize(=" + pageSize + ") " +
                 "must be > FileUtilRt.LARGE_FOR_CONTENT_LOADING(=" + FileUtilRt.LARGE_FOR_CONTENT_LOADING + "b), " +
                 "otherwise large content can't fit");
      }
      CompressingAlgo compressionAlgo = switch (FSRecordsImpl.COMPRESSION_ALGO) {
        case "zip" -> new CompressingAlgo.ZipAlgo(FSRecordsImpl.COMPRESS_CONTENT_IF_LARGER_THAN);
        case "lz4" -> new CompressingAlgo.Lz4Algo(FSRecordsImpl.COMPRESS_CONTENT_IF_LARGER_THAN);
        //"none"
        default -> new CompressingAlgo.NoCompressionAlgo();
      };
      LOG.info("VFS uses content storage over memory-mapped file, with compression algo: " + compressionAlgo);
      return new VFSContentStorageOverMMappedFile(contentsFile, pageSize, compressionAlgo);
    }

    RefCountingContentStorage contentStorage;
    ExecutorService storingPool = SequentialTaskExecutor.createSequentialApplicationPoolExecutor("FSRecords Content Write Pool");
    boolean useContentHashes = true;
    if (FSRecordsImpl.USE_CONTENT_STORAGE_OVER_NEW_FILE_PAGE_CACHE && PageCacheUtils.LOCK_FREE_PAGE_CACHE_ENABLED) {
      LOG.info("VFS uses content storage over new FilePageCache");
      //FiXME RC: now we create storage over new FilePageCache, but protected by the same global lock used by all storages
      //          atop of old page-cache! Which is dummy, since content storage is independent, and could have at least
      //          its own RWLock!
      contentStorage = new RefCountingContentStorageImplLF(contentsFile, FIVE_PERCENT_FOR_GROWTH, storingPool, useContentHashes);
    }
    else {
      LOG.info("VFS uses content storage over regular FilePageCache");
      contentStorage = new RefCountingContentStorageImpl(contentsFile, FIVE_PERCENT_FOR_GROWTH, storingPool, useContentHashes);
    }
    return new ContentStorageAdapter(
      contentStorage,
      () -> openContentHashEnumeratorOrCreateEmpty(contentsHashesFile)
    );
  }
private static @NotNull VFSContentStorage createContentStorage_makeStorage(@NotNull Path contentsHashesFile,
                                                                             @NotNull Path contentsFile)