Host Entity Cache Synchronization for Storage Data Integrity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Operating storage virtualization systems in write-back caching mode can provide performance benefits but increases the risk of data loss due to power failures or system malfunctions, whereas write-through caching ensures data security at the cost of performance.

Innovation Solution

Implementing a Completion Pending PSD Cache Synchronization list to manage write IO requests, where the host entity delays clearing cache data and issues a synchronized cache IO request to ensure data is securely committed to physical media, allowing for performance similar to write-back caching while maintaining data security akin to write-through caching.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If write-back caching mode is used, then IO processing performance is improved, but data security deteriorates due to risk of data loss during power failures or system malfunctions

Engineering Contradiction:
ImproveIO processing performanceVSAvoiddata security
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system performs preliminary actions by maintaining a completion pending list that tracks all write IO requests before they are fully processed. This allows the system to prepare for potential data loss scenarios by having a record of all uncached writes, enabling subsequent synchronization operations to ensure data safety without compromising the performance benefits of write-back caching.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms through the synchronized cache IO request that queries the completion pending list after power restoration or system recovery. This feedback loop ensures that any data that was cached but not yet committed is identified and re-committed, providing assurance that data security is maintained while allowing write-back caching to operate for performance optimization.

Inventive Principle:
Principle #23Feedback

2Reliability

If write-through caching mode is used, then data security is ensured, but IO processing performance deteriorates

Engineering Contradiction:
Improvedata securityVSAvoidIO processing performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system segments the data safety assurance process into two distinct phases: the normal write-back caching operation for performance, and a separate synchronization phase triggered by power restoration or system recovery events. This segmentation allows the system to enjoy the performance benefits of write-back caching while periodically ensuring data security through targeted synchronization operations, rather than continuously using write-through mode.

Inventive Principle:
Principle #1Segmentation

3Productivity

If cache data is cleared immediately after successful write, then processing efficiency is improved, but data integrity deteriorates during power failures

Engineering Contradiction:
Improveprocessing efficiencyVSAvoiddata integrity
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system performs preliminary action by adding write IO requests to the completion pending list immediately upon receiving their completion responses, before any cache clearing occurs. This preliminary tracking ensures that when power failure or system malfunction occurs, the system has already recorded all uncached writes and can subsequently synchronize them to maintain data integrity while still allowing efficient processing during normal operation.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8019937B2Applying storage device commit-cached-data-to-media functionality to improve data security in systems that allow storage devices to cache writes
Publication Date: 2011.09.13 INFORTREND TECH INC
  • US8019937B2 patent drawing
  • US8019937B2 patent drawing
  • US8019937B2 patent drawing

AI summary

A method for committing cached data to storage media including a host entity and a physical storage device (PSD), comprising: the host entity issuing a write IO request to the PSD being in write-back caching mode to write data from a host memory to the PSD; the host entity receiving a successful IO completion response associated with the write IO request from the PSD and recording an entry of the write IO request to a selected list; the host entity issuing a synchronized cache IO request to the PSD; the PSD responding a successful IO completion response of the synchronized cache IO request to the host entity; the host entity extracting the entry of the write IO request from the selected list before issuing the synchronized cache IO request; and the host entity engaging completion processing of write IO request corresponding to the entry of the write IO request extracted.