File System Metadata Coalescing for RAID Parity Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Flushing updated metadata structures to disk in data storage systems is a resource-intensive process, particularly in RAID configurations that require parity computation for multiple stripes, leading to performance limitations in file system operations.

Innovation Solution

Coalescing related metadata structures that change together into a single RAID stripe, allowing for a single stripe write and reducing the number of parity operations, thereby optimizing disk usage and processing resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If metadata structures are stored on separate RAID stripes, then data reliability is maintained through distributed storage, but the number of parity operations increases significantly

Engineering Contradiction:
Improvedata reliabilityVSAvoidstorage performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent combines multiple related metadata structures (IBs and BMDs) that are updated together into a single RAID stripe. This merging allows the storage system to perform a single parity operation when flushing these metadata structures to disk, rather than performing separate parity operations for each metadata structure on different stripes. The combination maintains data reliability through RAID protection while significantly reducing the number of parity operations required.

Inventive Principle:
Principle #5Merging (Combining)

2Reliability

If multiple RAID stripes are written for metadata updates, then data redundancy is ensured across different stripes, but processing resources are consumed for multiple parity computations

Engineering Contradiction:
Improvedata redundancyVSAvoidprocessing resources
Core Design Contradiction:
ReliabilityVSPower

Solution Approach 1:

The patent merges the storage of related metadata structures into a single RAID stripe, so that when these metadata structures need to be flushed to disk, only one parity computation is required regardless of how many metadata structures are being updated. This approach ensures data redundancy through RAID protection while minimizing processing resource consumption by eliminating multiple separate parity computations.

Inventive Principle:
Principle #5Merging (Combining)

3Reliability

If metadata structures are flushed to disk frequently, then data consistency is maintained, but disk I/O operations increase and limit storage performance

Engineering Contradiction:
Improvedata consistencyVSAvoidstorage performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent combines multiple metadata structure flush operations into a single disk I/O operation by storing them together on the same RAID stripe. This merging reduces the total number of disk I/O operations required to maintain data consistency, thereby improving storage performance while still ensuring that metadata changes are persisted to disk reliably.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS10585855B1Optimizing file system layout for reduced raid processing
Publication Date: 2020.03.10 EMC IP HLDG CO LLC
  • US10585855B1 patent drawing
  • US10585855B1 patent drawing
  • US10585855B1 patent drawing

AI summary

A technique for managing a file system includes arranging a first set of multiple metadata elements at a first set of block locations and arranging a second set of multiple metadata elements at a second set of block locations. Each of the first set of metadata elements is related to a respective one of the second set of metadata elements to form a respective pair of metadata elements that the file system is configured to update together. The technique further includes backing the first set of block locations and the second set of block locations together on a single RAID stripe, such that updating each pair of metadata elements is achieved using a single stripe write.