File System Metadata Index Consistency Update

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In existing data storage systems, metadata indexing is not updated simultaneously with data blocks and metadata writes, leading to periods where users cannot search for the most updated metadata information, and snapshots may not be consistent with the latest metadata changes.

Innovation Solution

The system updates the metadata index at the same time as data blocks and metadata are written to disk during a consistency point, ensuring the metadata index is always up-to-date and consistent with file system snapshots.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If metadata index is updated after data blocks and metadata writes, then system complexity is reduced, but metadata consistency and user accessibility deteriorate

Engineering Contradiction:
Improvesystem complexityVSAvoidmetadata consistency
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent merges the metadata index update operation with the data block and metadata write operations by implementing a unified consistency point mechanism. This combines previously separate operations into a single atomic transaction, ensuring that the metadata index, data blocks, and metadata are all updated together, thus maintaining metadata consistency without significantly increasing system complexity.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent applies preliminary action by preparing and validating the metadata index update before committing the consistency point. The system performs preliminary checks to ensure the metadata index is ready for update, and only commits the transaction if all preliminary conditions are met, thereby ensuring consistency while maintaining efficient operation.

Inventive Principle:
Principle #10Preliminary action

2Loss of time

If metadata index update is delayed, then processing time is reduced, but information freshness and data integrity worsen

Engineering Contradiction:
Improveprocessing timeVSAvoidinformation freshness
Core Design Contradiction:
Loss of timeVSLoss of information

Solution Approach 1:

The patent implements continuity of useful action by making the metadata index update an integral part of the consistency point operation. Instead of delaying the update, the system continuously maintains the metadata index in sync with data blocks and metadata through this unified operation, ensuring information freshness is preserved while managing processing time efficiently through batch operations.

Inventive Principle:
Principle #20Continuity of useful action

3Reliability

If metadata index is updated simultaneously with data writes, then metadata consistency is improved, but system complexity increases

Engineering Contradiction:
Improvemetadata consistencyVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies segmentation by dividing the consistency point update into distinct but coordinated phases: validation phase, update phase, and commit phase. This segmentation allows the system to manage the complexity of simultaneous updates by breaking them into manageable steps while maintaining the overall consistency guarantee, thus improving metadata consistency without overwhelming system complexity.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10437521B2Consistent method of indexing file system information
Publication Date: 2019.10.08 NETAPP INC
  • US10437521B2 patent drawing
  • US10437521B2 patent drawing
  • US10437521B2 patent drawing

AI summary

Disclosed is a system that will update the metadata index at the consistency point. Accordingly, the metadata index will be updated at the same time that the data blocks and metadata updates are written to disk. Furthermore, the metadata index will be written in the same location as the file system data, and accordingly, when a snapshot is taken of the file system, the metadata index will also be copied and saved with the snapshot. Accordingly, the metadata index will travel with the snapshots of the filesystem, and will be up to date with the latest changes to the file data blocks.