File System Checking Using Swap Space Bitmap

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing file system checking (FSCK) utility requires significant time and resources to verify the integrity of large file systems, leading to performance issues and increased storage requirements, as it needs to store large amounts of metadata in memory and external storage, which can be limiting and inefficient.

Innovation Solution

Creating a swap space volume from unused blocks within the file system to store information required for FSCK, allowing for efficient use of existing storage and reducing overhead, enabling the FSCK utility to operate within the file system itself and improve performance by utilizing unused space.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the FSCK utility verifies the integrity of large file systems by storing metadata in memory and external storage, then the file system checking can be performed, but the time and resources required increase significantly

Engineering Contradiction:
Improvefile system integrity verificationVSAvoidfile system checking time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts only the essential information needed for file system checking from the entire file system metadata, storing it in a bitmap structure. This selective extraction reduces the amount of data that needs to be processed and stored, thereby reducing checking time while maintaining verification reliability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the data structure parameter from storing complete metadata to using a bitmap representation where each bit represents the state of a file system block. This parameter change dramatically reduces storage requirements and improves processing speed while maintaining the ability to verify file system integrity.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If the FSCK utility stores large amounts of metadata in memory and external storage, then file system checking can be performed, but storage requirements increase

Engineering Contradiction:
Improvefile system checking capabilityVSAvoidstorage space required
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent transforms the storage requirement from storing complete metadata structures to storing compact bitmap arrays. This parameter change in data representation reduces storage space from potentially gigabytes to much smaller sizes, making file system checking feasible for large file systems without requiring extensive external storage.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

Instead of copying and storing entire metadata structures, the patent creates a simplified bitmap copy that captures only the essential state information needed for verification. This selective copying approach maintains checking capability while dramatically reducing storage requirements.

Inventive Principle:
Principle #26Copying

3Measurement precision

If the FSCK utility checks large file systems thoroughly, then accuracy of integrity verification is maintained, but system performance is adversely affected

Engineering Contradiction:
Improveintegrity verification accuracyVSAvoidsystem performance
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent extracts only the critical state information from file system metadata into a bitmap structure, enabling efficient verification without processing the entire metadata set. This extraction maintains verification accuracy for essential file system structures while improving system performance by reducing processing overhead.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies partial action by performing checking on a simplified representation (bitmap) rather than the complete metadata structure. This partial approach maintains sufficient accuracy for detecting file system corruption while significantly improving performance by reducing the scope of processing required.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9665581B1Managing file system checking
Publication Date: 2017.05.30 EMC IP HLDG CO LLC
  • US9665581B1 patent drawing
  • US9665581B1 patent drawing
  • US9665581B1 patent drawing

AI summary

A method is used in managing file system checking. A logical space is created from a set of cylinder groups. The logical space includes respective unused blocks in each cylinder group of the set of cylinder groups. Each cylinder group of the set of cylinder groups is configured to store metadata and data of a file system. Information required to perform file system checking on the file system is stored in the logical space. File system checking is performed on the file system.