Multi-Transaction Memory System Metadata Atomicity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing multi-transaction memory systems face challenges in securing the atomicity of file system metadata, leading to increased processing burdens on hosts and potential violations of transaction atomicity due to inefficient logging and reflection of file system metadata changes.

Innovation Solution

A method and system for a multi-transaction memory system that stores changed Logical Block Address (LBA) information and inode data within memory blocks, performing transaction commits by updating valid block bitmaps and inode pages, ensuring that only changed metadata is logged and reflected, thereby maintaining atomicity and reducing host processing burdens.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all file system metadata changes are logged and reflected in existing multi-transaction memory systems, then transaction atomicity can be maintained, but host processing burden increases significantly

Engineering Contradiction:
Improvetransaction atomicityVSAvoidhost processing burden
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the file system metadata management functions (block bitmap and inode table) from the host system and relocates them to the memory system. This allows the memory system to independently manage and log metadata changes, maintaining transaction atomicity without requiring the host to process and log all metadata operations, thereby reducing host processing burden while preserving reliability

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces a valid block bitmap as an intermediary mechanism between the host and the file system metadata. The valid block bitmap tracks the validity status of metadata blocks and enables the memory system to independently manage metadata transactions, reducing the processing burden on the host while ensuring transaction atomicity through automated validation and recovery mechanisms

Inventive Principle:
Principle #24Intermediary (Mediator)

2Device complexity

If only changed metadata is logged in the memory system, then host processing burden is reduced, but securing atomicity of file system metadata becomes challenging

Engineering Contradiction:
Improvehost processing burdenVSAvoidmetadata atomicity
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent implements preliminary action by pre-allocating metadata blocks and creating a valid block bitmap that tracks the validity status of each metadata block before transactions occur. This preliminary structure enables the memory system to efficiently log only changed metadata while maintaining atomicity, as the pre-established tracking mechanism allows for selective logging without compromising transaction integrity

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent employs feedback mechanisms through the valid block bitmap, which continuously tracks and reflects the validity status of metadata blocks. This feedback system enables the memory system to identify and log only the changed metadata blocks while ensuring atomicity, as the bitmap provides real-time information about which blocks require logging and recovery actions

Inventive Principle:
Principle #23Feedback

3Reliability

If the memory system manages block bitmaps and inode tables, then atomicity is secured and host burden is reduced, but device complexity increases

Engineering Contradiction:
Improvemetadata atomicityVSAvoidmemory system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies universality by designing the memory system to perform multiple functions: it not only stores user data but also manages file system metadata (block bitmap and inode table). This multi-functionality consolidates metadata management within the memory system, securing atomicity while the standardized interface and automated mechanisms prevent excessive complexity from arising

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

4Reliability

If transaction commits update the valid block bitmap based on LBA information, then metadata consistency is improved, but processing time increases

Engineering Contradiction:
Improvemetadata consistencyVSAvoidtransaction commit time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the valid block bitmap into manageable units corresponding to metadata blocks, allowing transaction commits to update only the specific bitmap segments affected by LBA changes rather than updating the entire bitmap. This segmentation maintains metadata consistency while reducing the time required for transaction commits by limiting the scope of updates to only the necessary portions

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11782840B2Memory system, operation method thereof, and database system including the memory system
Publication Date: 2023.10.10 SK HYNIX INC
  • US11782840B2 patent drawing
  • US11782840B2 patent drawing
  • US11782840B2 patent drawing

AI summary

A method for operating a multi-transaction memory system, the method includes: storing Logical Block Address (LBA) information changed in response to a request from a host and a transaction identification (ID) of the request into one page of a memory block; and performing a transaction commit in response to a transaction commit request including the transaction ID from the host, wherein the performing of the transaction commit includes: changing a valid block bitmap in a controller of the multi-transaction memory system based on the LBA information.