File System Block Recovery via Mapping Pointer Pattern Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

File systems in computer systems face data inconsistencies due to improper shutdowns, hardware failures, software errors, and user errors, leading to potential data corruption and loss, which existing file system checking utilities struggle to address effectively.

Innovation Solution

A method and apparatus for detecting data inconsistencies in file system blocks by determining the presence of mapping pointers associated with specific patterns, deciding whether to associate them with a data loss state, and performing recovery operations to maintain file system integrity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional file system checking utilities are used to detect and fix inconsistencies, then file system integrity can be restored, but data loss cannot be avoided and the process is time-consuming

Engineering Contradiction:
Improvefile system integrityVSAvoiddata loss
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The patent applies preliminary action by creating and storing backup mapping pointers with known good patterns before inconsistencies occur. When a inconsistency is detected, the system can immediately restore using these pre-prepared backups without time-consuming analysis, thus preventing data loss while maintaining file system integrity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates copies of mapping pointers (backup mapping pointers) that contain known good patterns. These copies are stored separately and can be used to restore corrupted mapping pointers, enabling recovery without data loss while maintaining the original file system structure.

Inventive Principle:
Principle #26Copying

2Reliability

If comprehensive file system checking is performed to ensure data integrity, then consistency is improved, but system performance and availability deteriorate

Engineering Contradiction:
Improvedata consistencyVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements self-service by automatically detecting inconsistencies and restoring them using backup mapping pointers without requiring manual intervention or comprehensive system checks. The file system monitoring component continuously monitors and self-corrects issues, maintaining data consistency while minimizing performance impact.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent extracts the file consistency checking and restoration function as a separate file system monitoring component that operates independently from the main file system operations. This allows consistency maintenance without interfering with normal system performance and availability.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If file system monitoring is continuously performed to detect inconsistencies early, then data integrity is improved, but computational resources and time are consumed

Engineering Contradiction:
Improvedata integrityVSAvoidcomputational resources
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent uses lightweight checksums as disposable verification objects that require minimal computational resources to calculate and compare. These simple checksums provide effective inconsistency detection without consuming significant computational resources, enabling continuous monitoring with low energy overhead.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

Solution Approach 2:

The file system monitoring component performs automatic inconsistency detection and restoration using pre-stored backup mapping pointers, eliminating the need for resource-intensive continuous analysis. The system self-services by comparing checksums and restoring from backups only when inconsistencies are detected, minimizing computational resource consumption.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11138185B1Method, apparatus and computer program product for managing data inconsistencies in file systems
Publication Date: 2021.10.05 EMC IP HLDG CO LLC
  • US11138185B1 patent drawing
  • US11138185B1 patent drawing
  • US11138185B1 patent drawing

AI summary

There is disclosed a technique for managing data inconsistencies in file systems. For example, in one embodiment, the technique comprises detecting a data inconsistency relating to a file system block in a file system. The technique also comprises determining whether the file system block includes a mapping pointer associated with a first type of pattern. The technique further comprises performing recovery in connection with the file system block. The recovery including deciding whether to associate a mapping pointer of the file system block with one of a second type of pattern or a data loss state based on the said determination of whether the file system block includes a mapping pointer associated with a first type of pattern.