Lost Write Detection in RAID Storage Redundancy Layers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current storage systems are inadequate in detecting and correcting 'lost writes' in RAID layers, as existing error detection techniques fail to identify corrupted data due to lost writes, leading to potential data corruption and performance degradation during parity checks.

Innovation Solution

A method is introduced where a generation count is assigned to on-disk data blocks during writes and maintained in a bitmap within the parity block, allowing for detection of lost writes by verifying the generation count during reads, enabling the recovery of lost data from parity and remaining blocks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If block-appended checksum is used for error detection, then data corruption due to bit flips and partial writes can be detected, but lost writes cannot be detected because all metadata appears valid

Engineering Contradiction:
Improveerror detection capabilityVSAvoidlost write detection capability
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent applies preliminary action by pre-computing and storing checksums of metadata fields (including generation count) before writes occur. This allows subsequent detection of lost writes by comparing stored checksums with current data, enabling identification of writes that were not properly committed to disk.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements feedback by incorporating checksum verification into the read operation. When data is read, the system computes checksums of current metadata and compares them with stored checksums. A mismatch indicates a lost write, providing feedback about write failures without requiring additional monitoring infrastructure.

Inventive Principle:
Principle #23Feedback

2Reliability

If parity checking is performed to detect corrupted blocks, then data integrity can be verified, but performance degradation occurs due to computational expense

Engineering Contradiction:
Improvedata integrity verificationVSAvoidstorage operation performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies preliminary action by pre-computing and storing checksums of metadata fields before writes occur. This allows subsequent detection of lost writes by comparing stored checksums with current data, enabling identification of writes that were not properly committed to disk.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements feedback by incorporating checksum verification into the read operation. When data is read, the system computes checksums of current metadata and compares them with stored checksums. A mismatch indicates a lost write, providing feedback about write failures without requiring additional monitoring infrastructure.

Inventive Principle:
Principle #23Feedback

3Reliability

If generation count is maintained in bitmap within parity block, then lost writes can be detected on all reads, but additional storage space is required

Engineering Contradiction:
Improvelost write detection accuracyVSAvoidstorage space consumption
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent merges the generation count tracking functionality into the existing parity block structure. By combining the bitmap data structure with the parity block, the system leverages existing storage infrastructure to track generation counts, avoiding the need for separate dedicated storage structures.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent makes the parity block serve multiple functions: traditional parity calculation, generation count storage via bitmap, and lost write detection. This multi-functionality reduces the need for additional dedicated storage structures, as the parity block becomes a universal component for both error correction and detection.

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

Data Source

PatentUS7549089B1Lost write detection in a storage redundancy layer of a storage server
Publication Date: 2009.06.16 NETAPP INC
  • US7549089B1 patent drawing
  • US7549089B1 patent drawing
  • US7549089B1 patent drawing

AI summary

A storage system includes a set of mass storage media and a plurality of functional layers that provide a data storage path between a file system and the set of mass storage media. The storage system can detect that a write issued by the file system was lost by one of the functional layers that provide the data storage path between the file system and the mass storage media.