private static void checkContentStorage(@NotNull PersistentFSLoader loader) throws IOException {
    PersistentFSRecordsStorage records = loader.recordsStorage();
    VFSContentStorage contentStorage = loader.contentsStorage();
    int maxAllocatedID = records.maxAllocatedID();
    for (int fileId = FSRecords.ROOT_FILE_ID; fileId <= maxAllocatedID; fileId++) {
      int contentId = records.getContentRecordId(fileId);
      if (contentId != NULL_ID) {
        try {
          contentStorage.checkRecord(contentId, /*fastCheck: */ false);
        }
        catch (Throwable t) {
          throw new IOException("file[#" + fileId + "].content[contentId: " + contentId + "] is broken, " + t, t);
        }
      }
    }
  }
private static void checkContentStorage(@NotNull PersistentFSLoader loader)