# US 2022/0283735 A1 · Enabling memory access transactions for persistent memory

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0283735 A1
- Document ID: US20220283735A1
- Status: Published application
- Kind: A1
- Application number: 17/677,535
- Filed: 2022-02-22
- Published: 2022-09-08
- Earliest claimed: 2021-03-08
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: David Boles
- Web page: https://patentgrep.com/patent/US20220283735A1

## CPC

- G06F 3/0656: {Data buffering arrangements}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0622: {in relation to access}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A first request to initiate a memory access transaction is received by a processing device of a memory sub-system from a host system. One or more host data items are received from the host system. The one or more host data items are stored in a memory buffer residing on a volatile memory device of the memory sub-system. In response to an initiation of one or more operations to commit the memory access transaction, the one or more data items are migrated from the memory buffer to a persistent memory device.

## Claims

### Claim 1

A method comprising:
receiving, by a processing device of a memory sub-system, a first request from a host system to initiate a memory access transaction;
receiving, from the host system, one or more host data items;
storing the one or more host data items in a memory buffer residing on a volatile memory device of the memory sub-system; and
responsive to initiating one or more operations to commit the memory access transaction, migrating the one or more host data items from the memory buffer to a persistent memory device.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
transmitting, to the host system, a notification of successfully committing the memory access transaction.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving a second request from the host system to commit the memory access transaction, wherein the one or more operations to commit the memory access are initiated responsive to receiving the second request.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
responsive to receiving, from the host system, a third request to abort the memory access transaction before the memory access transaction is committed, discarding the one or more host data items stored in the memory buffer.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
responsive to failing to receive, within a predefined period of time, a fourth request from the host system to commit the memory access transaction, discarding the one or more host data items stored in the memory buffer.

### Claim 6 (depends on 1)

The method of claim 1, wherein at the first request references a transaction identifier for the memory access transaction.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
generating the transaction identifier for the memory access transaction; and
transmitting an indication of the transaction identifier to the host system.

### Claim 8 (depends on 1)

The method of claim 1, wherein the persistent memory device is a non-volatile memory device or a power protected volatile memory device.

### Claim 9

A memory sub-system comprising:
a first memory device comprising a memory buffer;
a second memory device, wherein one or more portions of the second memory device comprise persistent memory; and
a processing device coupled to the first memory device and the second memory device, the processing device to perform operations comprising:
obtaining a memory access transaction identifier of a memory access transaction initiated by a host system;
storing one or more host data items in a memory buffer residing on a first memory device of the memory sub-system, wherein the one or more host data items are associated with the memory access transaction identifier; and
receiving, from the host system, a request to commit the one or more host data items associated with the memory access transaction identifier to the persistent memory, migrating at least a portion of the one or more host data items from the memory buffer to the persistent memory.

### Claim 10 (depends on 9)

The memory sub-system of claim 9, wherein the operations further comprise:
receiving, from the host system, a request to store one or more additional host data items associated with the memory access transaction identifier to the persistent memory, wherein the one or more host data items correspond to an original state of host data associated with the host system and the one or more host data items correspond to an updated state of the host data; and
storing the one or more host data items to the persistent memory.

### Claim 11 (depends on 10)

The memory sub-system of claim 10, wherein the operations further comprise;
receiving, from the host system, a request to revert the host data to the original state; and
copying the one or more host data items from the memory buffer to a region of the persistent memory that stores the one or more additional data items.

### Claim 12 (depends on 9)

The memory sub-system of claim 9, wherein the operations further comprise:
responsive to receiving, from the host system, a request to abort the memory access transaction before the memory access transaction is committed, discarding the one or more host data items stored in the memory buffer.

### Claim 13 (depends on 9)

The memory sub-system of claim 9, wherein the operations further comprise:
responsive to failing to receive, within a predefined period of time, a request from the host system to commit the memory access transaction, discarding the one or more host data items stored in the memory buffer.

### Claim 14 (depends on 9)

The memory sub-system of claim 9, wherein obtaining the identifier associated with the memory access transaction comprises:
generating the memory access transaction identifier; and
transmitting an indication of the transaction identifier to the host system.

### Claim 15

A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
receiving a first request from a host system to initiate a memory access transaction;
receiving, from the host system, one or more host data items;
storing the one or more host data items in a memory buffer residing on a volatile memory device; and
responsive to initiating one or more operations to commit the memory access transaction, migrating the one or more host data items from the memory buffer to a persistent memory device.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the operations further comprise:
transmitting, to the host system, a notification of successfully committing the memory access transaction.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the operations further comprise:
receiving a second request from the host system to commit the memory access transaction, wherein the one or more operations to commit the memory access are initiated responsive to receiving the second request.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the operations further comprise:
responsive to receiving, from the host system, a third request to abort the memory access transaction before the memory access transaction is committed, discarding the one or more host data items stored in the memory buffer.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the operations further comprise:
responsive to failing to receive, within a predefined period of time, a fourth request from the host system to commit the memory access transaction, discarding the one or more host data items stored in the memory buffer.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the persistent memory device is a non-volatile memory device or a power protected volatile memory device.
