# US 2017/0286287 A1 · Method and apparatus for processing sequential writes to a block group of physical blocks in a memory device

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

- Number: US 2017/0286287 A1
- Document ID: US20170286287A1
- Status: Published application
- Kind: A1
- Application number: 15/089,315
- Filed: 2016-04-01
- Published: 2017-10-05
- Earliest claimed: 2016-04-01
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Frank T. HADY
- Web page: https://patentgrep.com/patent/US20170286287A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/1016: Performance improvement
- G06F 2212/1036: Life time enhancement
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7207: management of metadata or control data
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- G06F 2212/7211: Wear leveling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided are an apparatus and method for processing sequential writes to a block group of physical blocks in a memory device. Sequential write data for a plurality of consecutive logical addresses is received and a determination is made of consecutive physical blocks comprising a block group. Each of the physical blocks has data for a plurality of the consecutive logical addresses. The sequential write data is written to consecutive physical data locations having data for the determined consecutive physical blocks of the block group. The block group metadata for the block group is updated.

## Claims

### Claim 1

An apparatus, comprising:
memory dies to store data in addressable locations;
a controller to perform write operations with respect to the memory dies, to:
receive sequential write data for a plurality of consecutive logical addresses;
determine consecutive physical blocks comprising a block group, wherein each of the physical blocks has data for a plurality of the consecutive logical addresses;
write the sequential write data to consecutive physical data locations having data for the determined consecutive physical blocks of the block group; and
update block group metadata for the block group.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the controller is further to:
determine consecutive logical blocks corresponding to the consecutive logical addresses, wherein each logical block is comprised of a plurality of consecutive logical addresses; and
determine from a block address map the determined consecutive physical blocks corresponding to the determined consecutive logical blocks.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the controller is further to:
read the block group metadata for the block group, wherein the write of the sequential write data mapping to the consecutive physical blocks of the block group is performed after reading the block group metadata, wherein metadata for a plurality of the consecutive physical blocks in the block group is not read before writing the sequential write data to the consecutive physical data locations in the block group.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the controller is further to:
indicate in the metadata for a first physical block of the consecutive physical blocks in the block group that the metadata for the first physical block comprises the block group metadata for the block group; and
indicate in the metadata for the physical blocks in the block group following the first physical block that the metadata for the physical blocks do not comprise the block group metadata.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein there is metadata for each of the physical blocks of the block group, wherein the block group metadata comprises the metadata for a predetermined physical block of the physical blocks in the block group, wherein the metadata for the physical blocks other than the predetermined physical block are not updated when writing the sequential write data to the physical blocks in the block group.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the controller is programmed to identify each of the block groups as starting at a fixed offset in the physical data locations based on a mapping of a first physical block of the block group to a corresponding first physical data location of the block group.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the controller is further to:
determine to move a source block group of consecutive physical blocks mapping to consecutive physical data locations to a target block group of consecutive physical blocks mapping to consecutive physical data locations non-overlapping with the consecutive physical data locations of the source block group;
write each of the consecutive physical data locations of the source block group to consecutive physical data locations of the target block group; and
update information to map the source block group to the physical data locations of the target block group.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein the updating of the information to map the source block group comprises updating the block group metadata for the source block group to indicate that the data for the source block group maps to the consecutive physical data locations of the target block group.

### Claim 9 (depends on 7)

The apparatus of claim 7, wherein the determining to move the source block group of consecutive physical blocks is performed as part of a wear levelling operation to move the source block group of consecutive physical blocks that have a relatively high number of accesses to the target block group of consecutive physical blocks having a relatively low number of read accesses.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the controller is further to:
update the block group metadata to increment a number of writes for the block group indicating a number of writes to each of the consecutive physical blocks in the block group in response to a write of the sequential write data to one of the physical blocks of the block group; and
use the number of writes indicated in the block group metadata to determine whether to move the data in the block group to a target block group of non-overlapping consecutive physical data locations as part of a wear leveling operation.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein the consecutive physical data locations in the block group are spread across multiple of the memory dies.

### Claim 12

A system, comprising,
a processor;
a bus interface; and
a memory subsystem coupled to the bus to which the processor reads and write data, comprising:
memory dies to store data in addressable locations;
a controller to perform write operations with respect to the memory dies, to:
receive sequential write data for a plurality of consecutive logical addresses;
determine consecutive physical blocks comprising a block group, wherein each of the physical blocks has data for a plurality of the consecutive logical addresses;
write the sequential write data to consecutive physical data locations having data for the determined consecutive physical blocks of the block group; and
update block group metadata for the block group.

### Claim 13 (depends on 12)

The system of claim 12, wherein the controller is further to:
read the block group metadata for the block group, wherein the write of the sequential write data mapping to the consecutive physical blocks of the block group is performed after reading the block group metadata, wherein metadata for a plurality of the consecutive physical blocks in the block group is not read before writing the sequential write data to the consecutive physical data locations in the block group.

### Claim 14 (depends on 12)

The system of claim 12, wherein there is metadata for each of the physical blocks of the block group, wherein the block group metadata comprises the metadata for a predetermined physical block of the physical blocks in the block group, wherein the metadata for the physical blocks other than the predetermined physical block are not updated when writing the sequential write data to the physical blocks in the block group.

### Claim 15 (depends on 12)

The system of claim 12, wherein the controller is further to:
determine to move a source block group of consecutive physical blocks mapping to consecutive physical data locations to a target block group of consecutive physical blocks mapping to consecutive physical data locations non-overlapping with the consecutive physical data locations of the source block group;
write each of the consecutive physical data locations of the source block group to consecutive physical data locations of the target block group; and
update information to map the source block group to the physical data locations of the target block group.

### Claim 16 (depends on 15)

The system of claim 15, wherein the updating of the information to map the source block group comprises updating the block group metadata for the source block group to indicate that the data for the source block group maps to the consecutive physical data locations of the target block group.

### Claim 17 (depends on 15)

The system of claim 15, wherein the determining to move the source block group of consecutive physical blocks is performed as part of a wear levelling operation to move the source block group of consecutive physical blocks that have a relatively high number of accesses to the target block group of consecutive physical blocks having a relatively low number of read accesses.

### Claim 18 (depends on 12)

The system of claim 12, wherein the controller is further to:
update the block group metadata to increment a number of writes for the block group indicating a number of writes to each of the consecutive physical blocks in the block group in response to a write of the sequential write data to one of the physical blocks of the block group; and
use the number of writes indicated in the block group metadata to determine whether to move the data in the block group to a target block group of non-overlapping consecutive physical data locations as part of a wear leveling operation.

### Claim 19

A method to perform write operations with respect to memory dies in a memory subsystem, comprising:
receiving sequential write data for a plurality of consecutive logical addresses;
determining consecutive physical blocks comprising a block group, wherein each of the physical blocks has data for a plurality of the consecutive logical addresses;
writing the sequential write data to consecutive physical data locations having data for the determined consecutive physical blocks of the block group; and
updating block group metadata for the block group.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
reading the block group metadata for the block group, wherein the write of the sequential write data mapping to the consecutive physical blocks of the block group is performed after reading the block group metadata, wherein metadata for a plurality of the consecutive physical blocks in the block group is not read before writing the sequential write data to the consecutive physical data locations in the block group.

### Claim 21 (depends on 19)

The method of claim 19, wherein there is metadata for each of the physical blocks of the block group, wherein the block group metadata comprises the metadata for a predetermined physical block of the physical blocks in the block group, wherein the metadata for the physical blocks other than the predetermined physical block are not updated when writing the sequential write data to the physical blocks in the block group.

### Claim 22 (depends on 19)

The method of claim 19, further comprising:
determining to move a source block group of consecutive physical blocks mapping to consecutive physical data locations to a target block group of consecutive physical blocks mapping to consecutive physical data locations non-overlapping with the consecutive physical data locations of the source block group;
writing each of the consecutive physical data locations of the source block group to consecutive physical data locations of the target block group; and
updating information to map the source block group to the physical data locations of the target block group.

### Claim 23 (depends on 22)

The method of claim 22, wherein the updating of the information to map the source block group comprises updating the block group metadata for the source block group to indicate that the data for the source block group maps to the consecutive physical data locations of the target block group.

### Claim 24 (depends on 22)

The method of claim 22, wherein the determining to move the source block group of consecutive physical blocks is performed as part of a wear levelling operation to move the source block group of consecutive physical blocks that have a relatively high number of accesses to the target block group of consecutive physical blocks having a relatively low number of read accesses.

### Claim 25 (depends on 19)

The method of claim 19, further comprising:
updating the block group metadata to increment a number of writes for the block group indicating a number of writes to each of the consecutive physical blocks in the block group in response to a write of the sequential write data to one of the physical blocks of the block group; and
using the number of writes indicated in the block group metadata to determine whether to move the data in the block group to a target block group of non-overlapping consecutive physical data locations as part of a wear leveling operation.
