Persistent Address Space Management via Log-Based Metadata Reconstruction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current systems fail to properly manage data on cache and solid-state storage devices after improper shutdowns, leading to invalid data consideration and loss of volatile metadata, which affects data integrity and system reliability.

Innovation Solution

The implementation of a system that uses a non-volatile storage device with a storage controller and write/read data pipelines, along with indexes and metadata management, to maintain data validity and integrity by storing data in a sequential log-based format and employing error correction codes, ensuring data can be reconstructed even after an invalid shutdown.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If volatile metadata is used to manage cache data, then data access speed is improved, but data integrity is lost after improper shutdown

Engineering Contradiction:
Improvedata access speedVSAvoiddata integrity
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The system performs preliminary actions by writing data sequentially to non-volatile storage media before cache operations complete, ensuring a persistent record exists. The sequential log format pre-establishes a recoverable state that can be used after improper shutdowns, preventing data integrity loss while maintaining cache speed benefits.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary mechanism (sequential log with metadata on non-volatile storage) that bridges the volatile cache and persistent storage. This intermediary maintains the mapping between logical and physical addresses across power cycles, allowing the system to recover data integrity without sacrificing cache access speed.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If TRIM messages are used to identify removable data, then storage efficiency is improved, but data validity is lost due to volatile metadata

Engineering Contradiction:
Improvestorage efficiencyVSAvoiddata validity information
Core Design Contradiction:
ProductivityVSLoss of information

Solution Approach 1:

The system pre-records data validity information and TRIM message states in the sequential log on non-volatile storage before operations complete. This preliminary recording ensures that when the system restarts after improper shutdown, it can recover the validity state and continue TRIM operations without losing information about which data should be removed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a copy of the metadata and validity information in the sequential log on non-volatile storage media. This copy serves as a backup that preserves TRIM message states and data validity information even when the volatile cache is lost, allowing the system to maintain storage efficiency by recovering which data should be removed.

Inventive Principle:
Principle #26Copying

3Reliability

If sequential log-based format is used for data storage, then data integrity is improved, but storage access complexity increases

Engineering Contradiction:
Improvedata integrityVSAvoidstorage access complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the storage system into distinct components: a sequential log area for persistent metadata and data, and a cache area for fast access. This segmentation allows the complex sequential log format to be isolated from the fast cache operations, maintaining data integrity while managing access complexity through clear separation of concerns.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The sequential log acts as an intermediary layer between the host system and the cache/storage media. It provides a standardized format for recording operations that simplifies the interface while handling the complexity of recovery and integrity checks internally, reducing the apparent complexity for external access.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10133663B2Systems and methods for persistent address space management
Publication Date: 2018.11.20 UNIFICATION TECHNOLOGIES LLC
  • US10133663B2 patent drawing
  • US10133663B2 patent drawing
  • US10133663B2 patent drawing

AI summary

Data is stored on a non-volatile storage media in a sequential, log-based format. The formatted data defines an ordered sequence of storage operations performed on the non-volatile storage media. A storage layer maintains volatile metadata, which may include a forward index associating logical identifiers with respective physical storage units on the non-volatile storage media. The volatile metadata may be reconstructed from the ordered sequence of storage operations. Persistent notes may be used to maintain consistency between the volatile metadata and the contents of the non-volatile storage media. Persistent notes may identify data that does not need to be retained on the non-volatile storage media and/or is no longer valid.