# US 2023/0409210 A1 · Enabling stripe-based operations for error recovery at a memory sub-system

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

- Number: US 2023/0409210 A1
- Document ID: US20230409210A1
- Status: Published application
- Kind: A1
- Application number: 18/459,286
- Filed: 2023-08-31
- Published: 2023-12-21
- Earliest claimed: 2021-08-27
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Juane Li; Fangfang Zhu; Jiangli Zhu
- Web page: https://patentgrep.com/patent/US20230409210A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 3/0631: {by allocating resources to storage systems}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0665: {at area level, e.g. provisioning of virtual or logical volumes}
- G06F 3/0673: {Single storage device}
- G06F 11/08: Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F 11/1435: {using file system or storage system metadata}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A stripe-based command pertaining to a set of host data items at management units (MUs) of a memory sub-system configured to support non-stripe based commands is received. A set of operations to be executed at the MUs based on the stripe-based command is determined. The set of operations include one or more first operations associated with the set of host data items, the one or more first operations having a first type, and one or more second operations associated with the set of host data items, the one or more second operations having a second type. A first set of commands corresponding to the one or more first operations and a second set of commands corresponding to the one or more second operations is executed.

## Claims

### Claim 1

A method comprising:
receiving a stripe-based command pertaining to a set of host data items at management units (MUs) of a memory sub-system configured to support non-stripe based commands;
determining a set of operations to be executed at the MUs based on the stripe-based command, wherein the set of operations comprise one or more first operations associated with the set of host data items, the one or more first operations having a first operation type, and one or more second operations associated with the host data items, the one or more second operations having a second operation type;
executing a first set of commands corresponding to the one or more first operations of the set of memory access operations; and
executing a second set of commands corresponding to the one or more second operations of the set of memory access operations.

### Claim 2 (depends on 1)

The method of claim 1, wherein the set of operations comprise at least one of a MU read operation, a stripe refresh operation, a stripe move command, a stripe error recovery operation, a stripe validity operation, or a stripe scheduling operation.

### Claim 3 (depends on 1)

The method of claim 1, wherein the one or more first operations comprise a read operation to read data from the MUs and the one or more second operations comprise a write operation to write at least a portion of the set of host data items and redundancy metadata associated with the at least the portion of the set of host data items to the MUs.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
generating the redundancy metadata associated with the at least the portion of the set of host data items based on the data read from the MUs during execution of the first set of commands.

### Claim 5 (depends on 4)

The method of claim 4, wherein the data read from the MUs during execution of the first set of commands comprises one or more additional host data items that are already programmed to the memory sub-system, and wherein generating the redundancy metadata comprises:
executing an exclusive-or (XOR) operation based on the one or more additional host data items and each of the set of host data items.

### Claim 6 (depends on 4)

The method of claim 4, wherein the data read from the MUs during execution of the first set of commands comprises additional redundancy metadata associated with additional host data items that are already programmed to the memory sub-system, and wherein generating the redundancy metadata comprises:
executing an exclusive-or (XOR) operation based on the additional redundancy metadata and each of the set of host data items.

### Claim 7 (depends on 1)

The method of claim 1, wherein determining the set of operations to be executed at the MUs comprises:
determining one or more additional host data items previously programmed to the MUs, wherein each of the one or more first operations correspond to at least one of reading an additional host data item of the one or more additional host data items from a respective MU or reading additional redundancy metadata associated with the one or more additional host data items from the respective MU.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
responsive to receiving the stripe-based command. allocating a set of memory buffers associated with the memory sub-system to store data read from the MUs.

### Claim 9 (depends on 8)

The method of claim 8, responsive to detecting that the second set of commands were successfully executed, releasing the allocated set of memory buffers.

### Claim 10 (depends on 9)

The method of claim 9, wherein the MUs reside at a fault-tolerant stripe associated with the memory sub-system.

### Claim 11

A memory sub-system comprising:
a memory device; and
a processing device coupled to the memory device, the processing device to perform operations comprising:
receiving a stripe-based command pertaining to a set of host data items at management units (MUs) of a memory sub-system configured to support non-stripe based commands;
determining a set of operations to be executed at the MUs based on the stripe-based command, wherein the set of operations comprise one or more first operations associated with the set of host data items, the one or more first operations having a first operation type, and one or more second operations associated with the host data items, the one or more second operations having a second operation type;
executing a first set of commands corresponding to the one or more first operations of the set of memory access operations; and
executing a second set of commands corresponding to the one or more second operations of the set of memory access operations.

### Claim 12 (depends on 11)

The memory sub-system of claim 11, wherein the set of operations comprise at least one of a MU read operation, a stripe refresh operation, a stripe move command, a stripe error recovery operation, a stripe validity operation, or a stripe scheduling operation.

### Claim 13 (depends on 11)

The memory sub-system of claim 11, wherein the one or more first operations comprise a read operation to read data from the MUs and the one or more second operations comprise a write operation to write at least a portion of the set of host data items and redundancy metadata associated with the at least the portion of the set of host data items to the MUs.

### Claim 14 (depends on 13)

The memory sub-system of claim 13, wherein the operations further comprise:
generating the redundancy metadata associated with the at least the portion of the set of host data items based on the data read from the MUs during execution of the first set of commands.

### Claim 15 (depends on 14)

The memory sub-system of claim 14, wherein the data read from the MUs during execution of the first set of commands comprises one or more additional host data items that are already programmed to the memory sub-system, and wherein generating the redundancy metadata comprises:
executing an exclusive-or (XOR) operation based on the one or more additional host data items and each of the set of host data items.

### Claim 16 (depends on 14)

The memory sub-system of claim 14, wherein the data read from the MUs during execution of the first set of commands comprises additional redundancy metadata associated with additional host data items that are already programmed to the memory sub-system, and wherein generating the redundancy metadata comprises:
executing an exclusive-or (XOR) operation based on the additional redundancy metadata and each of the set of host data items.

### Claim 17 (depends on 11)

The memory sub-system of claim 11, wherein determining the set of operations to be executed at the MUs comprises:
determining one or more additional host data items previously programmed to the MUs, wherein each of the one or more first operations correspond to at least one of reading an additional host data item of the one or more additional host data items from a respective MU or reading additional redundancy metadata associated with the one or more additional host data items from the respective MU.

### Claim 18

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 stripe-based command pertaining to a set of host data items at management units (MUs) of a memory sub-system configured to support non-stripe based commands;
determining a set of operations to be executed at the MUs based on the stripe-based command, wherein the set of operations comprise one or more first operations associated with the set of host data items, the one or more first operations having a first operation type, and one or more second operations associated with the host data items, the one or more second operations having a second operation type;
executing a first set of commands corresponding to the one or more first operations of the set of memory access operations; and
executing a second set of commands corresponding to the one or more second operations of the set of memory access operations.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the set of operations comprise at least one of a MU read operation, a stripe refresh operation, a stripe move command, a stripe error recovery operation, a stripe validity operation, or a stripe scheduling operation.

### Claim 20 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the one or more first operations comprise a read operation to read data form the MUs and the one or more second operations comprise a write operation to write at least a portion of the set of host data items and redundancy metadata associated with the at least the portion of the set of host data items to the MUs.
