Distributed RAID Journaling to Prevent Write Holes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

RAID systems face the issue of 'write holes' due to incomplete write operations during system crashes, leading to inconsistent data and parity chunks, which cannot be reliably reconstructed, causing corrupted data upon system restart.

Innovation Solution

Implementing distributed journaling across multiple storage devices in a RAID system, where journal records are stored on non-volatile journal storage portions of each drive, ensuring that write operations are completed atomically and consistently before being written to main data storage, and invalidating records only after successful completion.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a RAID system performs write operations during normal operation, then data and parity chunks are written to storage devices, but if a system crash occurs during the write operation, then the data and parity chunks may not be successfully written, resulting in inconsistent data and write holes

Engineering Contradiction:
Improvedata consistencyVSAvoidwrite throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies preliminary action by writing journal records to non-volatile journal storage before writing data and parity chunks to main data storage. This ensures that if a system crash occurs during the write operation, the journal records contain the necessary information to reconstruct the write operation and maintain data consistency, thereby preventing write holes while preserving write throughput.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses journal records as an intermediary between the write operation and the main data storage. The journal records store metadata and data chunks that mediate the write operation, allowing the system to recover from crashes by replaying the journal records. This intermediary mechanism ensures data consistency without permanently reducing write throughput.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If a dedicated journal device is used to store journal records, then write operation consistency is improved, but the device complexity and cost increase

Engineering Contradiction:
Improvewrite operation consistencyVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent merges the journal storage function with the existing RAID group storage devices. Instead of using a dedicated journal device, the journal records are distributed across the storage devices that already form the RAID group. This combining approach maintains write operation consistency while reducing system complexity and eliminating the need for additional dedicated hardware.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent makes the RAID group storage devices multi-functional by having them serve both as main data storage and as journal storage. Each storage device in the RAID group can store both data/parity chunks and journal records, eliminating the need for separate dedicated journal devices and reducing overall system complexity while maintaining reliability.

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

3Device complexity

If journal records are stored on the same storage devices as main data storage, then device complexity is reduced, but the wear on SSD-based storage devices increases

Engineering Contradiction:
Improvesystem complexityVSAvoidstorage device lifespan
Core Design Contradiction:
Device complexityVSDuration of action of moving object

Solution Approach 1:

The patent segments the storage devices in the RAID group into different roles: some storage devices primarily store journal records while others primarily store data and parity chunks. This segmentation distributes the write wear across different devices, preventing any single SSD from experiencing excessive wear from both journaling and main data operations, thereby extending overall system lifespan while maintaining simple architecture.

Inventive Principle:
Principle #1Segmentation

4Productivity

If distributed journaling is implemented across multiple storage devices, then write throughput is improved and wear is distributed equally, but the complexity of managing journal records increases

Engineering Contradiction:
Improvewrite throughputVSAvoidjournal record management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements self-service by having each storage device in the RAID group independently manage its own journal records and participate in the distributed journaling process. Each device can autonomously handle journal record storage and validation without requiring complex centralized coordination, thereby improving write throughput and distributing wear while keeping management complexity manageable through the existing RAID controller infrastructure.

Inventive Principle:
Principle #25Self-service

Data Source

PatentEP4685649A1Distributed journaling for write operations to raid systems
Publication Date: 2026.01.28 GRAID TECH INC
  • EP4685649A1 patent drawingFigure 1
  • EP4685649A1 patent drawingFigure 2
  • EP4685649A1 patent drawingFigure 3

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.