HMB Buffer Mapping for DIX-DIF Format Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The interaction between host devices operating in data integrity extension (DIX) or data integrity field (DIF) formats and data storage devices is challenging due to differing data and metadata organization, leading to performance issues.

Innovation Solution

The data storage device generates and maintains scatter gather lists (SGLs) to support either DIX or DIF formats, allowing conversion between formats without altering data flow, using identical address mapping for data and metadata.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the data storage device adapts to the host device's format (DIX or DIF), then compatibility is improved, but device complexity increases due to format conversion requirements

Engineering Contradiction:
Improveformat compatibilityVSAvoidconversion complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces scatter gather lists (SGLs) as an intermediary data structure that enables format conversion between DIX and DIF. The SGL acts as a mediator that maps logical block addresses to physical locations in the host memory buffer, allowing the storage device to present data in the host's preferred format without requiring complex internal reorganization of stored data.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent creates a virtual copy of the data layout through SGL entries that represent logical block addresses. Instead of physically reorganizing data between DIX and DIF formats, the system creates pointer-based representations (copies) of data locations that can be interpreted differently based on the host's format requirements, eliminating the need for actual data transformation.

Inventive Principle:
Principle #26Copying

2Adaptability or versatility

If format conversion is implemented between DIX and DIF, then host device compatibility is improved, but performance deteriorates due to additional processing overhead

Engineering Contradiction:
Improvehost compatibilityVSAvoiddata transfer performance
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent pre-calculates and maintains scatter gather lists that map logical block addresses to physical buffer locations before data transfer occurs. By preparing the SGL structure in advance with all necessary address mappings and metadata, the system eliminates the need for real-time format conversion calculations during actual data transfer operations, thus maintaining high performance while supporting both formats.

Inventive Principle:
Principle #10Preliminary action

3Ease of operation

If separate storage of data and metadata is used (DIX format), then ease of operation is improved, but adaptability to DIF format deteriorates

Engineering Contradiction:
Improvedata organization simplicityVSAvoidDIF format support
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The patent makes the scatter gather list structure universal by designing it to work with both DIX and DIF formats. The same SGL data structure can represent either separate data and metadata pointers (DIX) or interleaved data and metadata blocks (DIF), depending on how the host device interprets the entries. This multi-functional design allows a single storage system to serve both format requirements without needing separate handling logic.

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

Data Source

PatentUS12511079B1Converting DIX to DIF using HMB buffer management
Publication Date: 2025.12.30 SANDISK TECHNOLOGIES LLC
  • US12511079B1 patent drawing
  • US12511079B1 patent drawing
  • US12511079B1 patent drawing

AI summary

Identical address mapping for data and metadata can be used to support either data integrity extension (DIX) format or data integrity field (DIF) format. To do so, the data storage device is responsible for generating and maintaining scatter gather lists (SGLs). The data storage device can maintain either a DIX format or a DIF format in a host memory buffer (HMB) and then convert from DIX format to DIF format if the host device uses DIF format. Conversely, the data storage device can convert from DIF format to DIX format if the host device uses DIX format. Extending DIF capability to DIX capability, and vice versa, is possible without any changes to data flow.