Distributed RAID Journaling for Write-Hole Recovery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

RAID systems face issues with write holes due to incomplete write operations during system crashes, leading to inconsistent data and parity chunks, which are difficult to detect and correct, especially in RAID levels 5, 6, and other configurations with distributed parity.

Innovation Solution

Implement distributed journaling across multiple storage devices in a RAID system, where each storage device has a reserved non-volatile journal storage for recording write operations, ensuring that data and parity chunks are written atomically and only after successful completion, with metadata describing the write operation locations, and invalidating records only after completion.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a RAID system performs write operations during normal operation, then write throughput is maintained, but system crashes can leave data and parity chunks incomplete, creating write holes

Engineering Contradiction:
Improvewrite throughputVSAvoiddata consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies preliminary action by writing journal metadata to non-volatile storage before the actual data write operation completes. This ensures that even if a crash occurs during the data write, the journal record persists and enables recovery. The journal metadata is written in advance as a preparatory step that guarantees recovery capability without blocking normal write throughput.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces journal metadata as an intermediary mechanism between the write operation and the actual data storage. This journal metadata acts as a mediator that records the intent and state of write operations, allowing the system to detect and recover from incomplete writes without affecting the primary data storage path, thus maintaining throughput while improving reliability.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If a dedicated journal device is used to prevent write holes, then data consistency is improved, but a single point of failure is created and write throughput decreases

Engineering Contradiction:
Improvedata consistencyVSAvoidwrite throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the journaling function across multiple storage devices within the RAID group rather than using a single dedicated journal device. Each storage device maintains its own journal metadata, distributing the journaling workload and eliminating the single point of failure. This segmentation allows parallel journaling operations that do not bottleneck write throughput.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent makes each storage device in the RAID group multi-functional by enabling them to both store data and maintain journal metadata independently. This universality eliminates the need for a dedicated single-function journal device, allowing the system to achieve both reliability improvement and throughput maintenance through parallel operations across multiple devices.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Reliability

If journal metadata is written to non-volatile storage, then recovery capability is improved, but write amplification increases and SSD lifespan decreases

Engineering Contradiction:
Improverecovery capabilityVSAvoidSSD lifespan
Core Design Contradiction:
ReliabilityVSDuration of action of stationary object

Solution Approach 1:

The patent applies local quality by writing journal metadata only to specific portions of each storage device rather than duplicating entire data blocks. The journal metadata is compact and localized, containing only essential recovery information. This approach minimizes the write volume on SSDs while maintaining full recovery capability, thereby reducing wear and extending lifespan.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent uses copying efficiently by creating minimal journal metadata copies that capture only the essential state information needed for recovery. Rather than copying full data blocks, the system copies compact metadata representations that are sufficient for reconstruction, significantly reducing the write amplification factor and SSD wear compared to traditional journaling approaches.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20260030107A1Distributed journaling for write operations to raid systems
Publication Date: 2026.01.29 GRAID TECH INC
  • US20260030107A1 patent drawing
  • US20260030107A1 patent drawing
  • US20260030107A1 patent drawing

AI summary

Distributed journaling for write operations to RAID systems is disclosed, including: receiving a new write operation to a plurality of storage devices associated with a redundant array of independent disks (RAID) group, wherein the plurality of storage devices comprises a main data storage and a non-volatile journal storage; writing a record of the new write operation to the non-volatile journal storage; after the record of the new write operation is written to the non-volatile journal storage, writing new data associated with the new write operation to the main data storage; and after the new data associated with the new write operation is written to the main data storage, invalidating the record of the new write operation in the non-volatile journal storage, wherein upon restarting the plurality of storage devices associated with the RAID group, the non-volatile journal storage is checked and valid records of one or more write operations included in the non-volatile journal storage are written to the main data storage.