I/O Cache Rebuild for SSD Capacity Overflow

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional storage controller rebuild methods for Solid-State Drives (SSDs) can exceed the physical capacity of the target SSD when rebuilding data from a failed SSD, as they blindly copy both valid and invalid data, leading to potential storage space issues.

Innovation Solution

Implementing a redundant I/O caching system with a first cache for data compression and a second cache for tracking chunks of compressed data, where the second cache selectively transfers only valid and dirty data to a third cache during a rebuild, avoiding the transfer of invalid and clean data to prevent exceeding the physical storage limits.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional blind holistic copy method is used to rebuild failed SSD, then data redundancy is achieved, but the physical capacity of target SSD is exceeded

Engineering Contradiction:
Improvedata redundancyVSAvoidphysical capacity of target SSD
Core Design Contradiction:
ReliabilityVSVolume of stationary object

Solution Approach 1:

The system performs preliminary actions by maintaining a second cache that continuously tracks the validity status of data chunks before a failure occurs. This advance tracking allows the rebuild process to immediately identify which data is valid without having to scan and verify data during the rebuild operation itself, thus preventing capacity overflow while ensuring complete data recovery.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The invention extracts only the valid and dirty data chunks from the source SSD during rebuild, leaving invalid and clean data behind. This selective extraction is enabled by the tracking mechanism in the second cache, which maintains information about data validity. By taking out only what is necessary, the system achieves full redundancy without exceeding the target SSD's physical capacity.

Inventive Principle:
Principle #2Taking out (Extraction)

2Quantity of substance

If data compression is applied to increase storage capacity, then more data can be stored, but the complexity of data management increases

Engineering Contradiction:
Improvestorage capacityVSAvoiddata management complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The second cache acts as an intermediary that tracks data chunk validity between the compressed storage system and the rebuild process. This intermediary layer maintains metadata about which compressed data chunks are valid, eliminating the need for complex validation logic during rebuild operations and simplifying the overall data management complexity despite using compression.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If all data chunks are transferred during rebuild to ensure completeness, then data integrity is maintained, but storage space is exceeded

Engineering Contradiction:
Improvedata integrityVSAvoidstorage space
Core Design Contradiction:
ReliabilityVSVolume of stationary object

Solution Approach 1:

The system extracts only the necessary data chunks (valid and dirty) during rebuild, using the tracking information from the second cache to identify which chunks need to be transferred. This selective extraction ensures data integrity is maintained for all necessary data while avoiding the transfer of redundant invalid or already-purged data, thus preventing storage space exhaustion.

Inventive Principle:
Principle #2Taking out (Extraction)

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

This approach ensures a successful rebuild of the failed SSD without exceeding the physical capacity of the target SSD, maintaining data integrity and preventing storage space issues by only transferring valid and dirty data, thus ensuring efficient and reliable data recovery.

Implementation Method 1

a first cache operable to receive input/output requests between a host system and a storage device, to compress data of the input/output requests

Methodology Applied
Scientific EffectData compression:

Data Source

PatentUS9141486B2Intelligent I/O cache rebuild in a storage controller
Publication Date: 2015.09.22 AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LTD
  • US9141486B2 patent drawing
  • US9141486B2 patent drawing
  • US9141486B2 patent drawing

AI summary

Systems and methods presented herein provide for redundancy in I/O caching. In one embodiment, a storage controller includes a first cache operable to receive input/output requests between a host system and a storage device, to compress data of the input/output requests, and to cache the compressed data before writing to the storage device. The storage controller also includes a second cache operable to track chunks of the compressed data in the first cache. When the first cache fails, the second cache is operable to cache the tracked chunks of the compressed data that have not been written to the storage device in a third cache while leaving chunks of data in the second cache that have been written to the storage device.