# US 2025/0147691 A1 · Memory system and method for controlling nonvolatile memory

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

- Number: US 2025/0147691 A1
- Document ID: US20250147691A1
- Status: Published application
- Kind: A1
- Application number: 19/014,367
- Filed: 2025-01-09
- Published: 2025-05-08
- Earliest claimed: 2018-04-25
- Assignees: Kioxia Corporation
- Applicants: Kioxia Corporation
- Inventors: Shinichi KANNO; Hideki YOSHIDA; Naoki ESAKA; Hiroshi NISHIMURA
- Web page: https://patentgrep.com/patent/US20250147691A1

## CPC

- G06F 3/0656: {Data buffering arrangements}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 3/061: {Improving I/O performance}
- G06F 3/064: {Management of blocks}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 2212/1044: Space efficiency improvement
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- G06F 2212/7209: Validity control, e.g. using flags, time stamps or sequence numbers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to one embodiment, a memory system includes a nonvolatile memory and a controller. The controller acquires, from a host, write data having the same first size as a data write unit of the nonvolatile memory and obtained by dividing write data associated with one write command having a first identifier indicating a first write destination block in a plurality of write destination blocks into a plurality of write data or combining write data associated with two or more write commands having the first identifier. The controller writes the acquired write data having the first size to the first write destination block by a first write operation.

## Claims

### Claim 1

A memory system connectable to a host, the host including a first buffer, the memory system comprising:
a nonvolatile memory, a data write operation to the nonvolatile memory being to be performed in a unit of a first size; and
a controller electrically connected to the nonvolatile memory and configured to:
after receiving, from the host, a first write command instructing to write first data of a second size from a first location of the first buffer of the host to the nonvolatile memory, the second size being smaller than the first size, wait for receiving a second write command without obtaining the first data from the first location of the first buffer of the host; and
in response to receiving, from the host, the second write command instructing to write second data of a third size from a second location of the first buffer of the host to the nonvolatile memory, a sum of the second size and the third size being larger than or equal to the first size,
transfer third data of the first size from the first buffer of the host to the nonvolatile memory, the third data including at least part of the first data and at least part of the second data; and
instruct the nonvolatile memory to write the third data.

### Claim 2 (depends on 1)

The memory system according to claim 1, wherein
the controller is further configured to:
acquire the at least part of the first data, which is included in the third data, from the first location of the first buffer of the host; and
in response to receiving from the host, after acquiring the at least part of the first data from the first location of the first buffer of the host, a read command requesting reading of the at least part of the first data and designating at least a third location of the first buffer of the host where the at least part of the first data is to be stored, the third location being different from the first location, acquire the at least part of the first data again from the first location of the first buffer of the host, and return the at least part of the first data, which has been acquired again, to the host such that the at least part of the first data is stored in the third location of the first buffer of the host.

### Claim 3 (depends on 1)

The memory system according to claim 1, wherein
the nonvolatile memory includes a plurality of blocks, each of the plurality of blocks being a unit of a data erase operation, each of the plurality of blocks including a plurality of pages, the plurality of pages including at least a first page and a second page, and
the controller is further configured to:
instruct the nonvolatile memory to write the third data to the first page; and
upon the second page being available for the data write operation,
transfer fourth data of the first size from a fourth location of the first buffer of the host to the nonvolatile memory; and
instruct the nonvolatile memory to write the fourth data to the second page.

### Claim 4 (depends on 3)

The memory system according to claim 3, wherein
the data write operation includes at least a first-step write operation and a second-step write operation, and
the controller is configured to:
in response to receiving the read command from the host after instructing the nonvolatile memory to perform the first-step write operation for the third data and before the nonvolatile memory has finished the second-step write operation for the third data, acquire the at least part of the first data again from the first location of the first buffer of the host, and return the at least part of the first data, which has been acquired again, to the host such that the at least part of the first data is stored in the third location of the first buffer of the host.

### Claim 5 (depends on 2)

The memory system according to claim 2, further comprising:
a second buffer, wherein
the controller is further configured to:
store the at least part of the first data into the second buffer, and transfer the at least part of the first data, which is included in the third data, from the second buffer to the nonvolatile memory; and
in response to receiving the read command from the host after transmitting the at least part of the first data to the nonvolatile memory,
determine whether the at least part of the first data is still stored in the second buffer; and
in a case where the at least part of the first data is not stored in the second buffer, acquire the at least part of the first data again from the first location of the first buffer of the host, store the at least part of the first data, which has been acquired again, into the second buffer, and return the at least part of the first data from the second buffer to the host such that the at least part of the first data is stored in the third location of the first buffer of the host.

### Claim 6 (depends on 5)

The memory system according to claim 5, wherein
the controller is further configured to:
in a case where the at least part of the first data is still stored in the second buffer, return the at least part of the first data from the second buffer to the host such that the at least part of the first data is stored in the third location of the first buffer of the host, without acquiring the at least part of the first data again from the first location of the first buffer of the host.

### Claim 7 (depends on 1)

The memory system according to claim 1, wherein
the controller is further configured to:
in a case where the second write command is not received for a threshold period,
transfer fifth data of the first size to the nonvolatile memory, the fifth data including dummy data and the at least part of the first data; and
instruct the nonvolatile memory to write the fifth data.

### Claim 8 (depends on 1)

The memory system according to claim 1, wherein
the nonvolatile memory includes a plurality of blocks, each of the plurality of blocks being a unit of a data erase operation,
the controller is further configured to manage a plurality of block groups, each of the plurality of block groups including one or more of the plurality of blocks, the plurality of block groups including at least a first block group, and
both the first write command and the second write command designate a first identifier that corresponds to the first block group as a write destination.

### Claim 9 (depends on 1)

The memory system according to claim 1, wherein
the nonvolatile memory includes a plurality of blocks, each of the plurality of blocks being a unit of a data erase operation, each of the plurality of blocks including a plurality of pages, and
the first size is equal to an integer multiple of a size of each of the plurality of pages.

### Claim 10 (depends on 1)

The memory system according to claim 1, wherein
the controller is further configured to:
in response to receiving, from the host, a third write command instructing to write sixth data of a fourth size from a fifth location of the first buffer of the host to the nonvolatile memory, the fourth size being larger than the first size,
transfer seventh data of the first size from the fifth location of the first buffer of the host to the nonvolatile memory, the seventh data including at least part of the sixth data; and
instruct the nonvolatile memory to write the seventh data.

### Claim 11

A method of controlling a nonvolatile memory, a data write operation to the nonvolatile memory being to be performed in a unit of a first size, the method comprising:
after receiving, from a host that includes a first buffer, a first write command instructing to write first data of a second size from a first location of the first buffer of the host to the nonvolatile memory, the second size being smaller than the first size, waiting for receiving a second write command without obtaining the first data from the first location of the first buffer of the host; and
receiving, from the host, the second write command instructing to write second data of a third size from a second location of the first buffer of the host to the nonvolatile memory, a sum of the second size and the third size being larger than or equal to the first size;
in response to receiving the second write command,
transferring third data of the first size from the first buffer of the host to the nonvolatile memory, the third data including at least part of the first data and at least part of the second data; and
instructing the nonvolatile memory to write the third data.

### Claim 12 (depends on 11)

The method according to claim 11, further comprising:
acquiring the at least part of the first data, which is included in the third data, from the first location of the first buffer of the host;
receiving from the host, after acquiring the at least part of the first data from the first location of the first buffer of the host, a read command requesting reading of the at least part of the first data and designating at least a third location of the first buffer of the host where the at least part of the first data is to be stored, the third location being different from the first location; and
in response to receiving the read command, acquiring the at least part of the first data again from the first location of the first buffer of the host, and returning the at least part of the first data, which has been acquired again, to the host such that the at least part of the first data is stored in the third location of the first buffer of the host.

### Claim 13 (depends on 11)

The method according to claim 11, wherein
the nonvolatile memory includes a plurality of blocks, each of the plurality of blocks being a unit of a data erase operation, each of the plurality of blocks including a plurality of pages, the plurality of pages including at least a first page and a second page, and
the method further comprises:
instructing the nonvolatile memory to write the third data to the first page;
determining that the second page is available for the data write operation; and
in response to determining that the second page is available,
transferring fourth data of the first size from a fourth location of the first buffer of the host to the nonvolatile memory; and
instructing the nonvolatile memory to write the fourth data to the second page.

### Claim 14 (depends on 13)

The method according to claim 13, wherein
the data write operation includes at least a first-step write operation and a second-step write operation, and
in response to receiving the read command from the host after instructing the nonvolatile memory to perform the first-step write operation for the third data and before the nonvolatile memory has finished the second-step write operation for the third data, the at least part of the first data is acquired again from the first location of the first buffer of the host, and the at least part of the first data, which has been acquired again, is returned to the host such that the at least part of the first data is stored in the third location of the first buffer of the host.

### Claim 15 (depends on 12)

The method according to claim 12, further comprising:
storing the at least part of the first data into a second buffer, and transferring the at least part of the first data, which is included in the third data, from the second buffer to the nonvolatile memory; and
in response to receiving the read command from the host after transferring the at least part of the first data to the nonvolatile memory,
determining whether the at least part of the first data is still stored in the second buffer;
determining that the at least part of the first data is not stored in the second buffer as a result of determining whether the at least part of the first data is still stored in the second buffer; and
in response to determining that the at least part of the first data is not stored in the second buffer, acquiring the at least part of the first data again from the first location of the first buffer of the host, storing the at least part of the first data, which has been acquired again, into the second buffer, and returning the at least part of the first data from the second buffer to the host such that the at least part of the first data is stored in the third location of the first buffer of the host.

### Claim 16 (depends on 15)

The method according to claim 15, further comprising:
determining that the at least part of the first data is still stored in the second buffer as a result of determining whether the at least part of the first data is still stored in the second buffer; and
in response to determining that the at least part of the first data is still stored in the second buffer, returning the at least part of the first data from the second buffer to the host such that the at least part of the first data is stored in the third location of the first buffer of the host, without acquiring the at least part of the first data again from the first location of the first buffer of the host.

### Claim 17 (depends on 11)

The method according to claim 11, further comprising:
determining that the second write command is not received for a threshold period; and
in response to determining that the second write command is not received for the threshold period,
transferring fifth data of the first size to the nonvolatile memory, the fifth data including dummy data and the at least part of the first data; and
instructing the nonvolatile memory to write the fifth data.

### Claim 18 (depends on 11)

The method according to claim 11, wherein
the nonvolatile memory includes a plurality of blocks, each of the plurality of blocks being a unit of a data erase operation,
the method further comprises managing a plurality of block groups, each of the plurality of block groups including one or more of the plurality of blocks, the plurality of block groups including at least a first block group, and
both the first write command and the second write command designate a first identifier that corresponds to the first block group as a write destination.

### Claim 19 (depends on 11)

The method according to claim 11, wherein
the nonvolatile memory includes a plurality of blocks, each of the plurality of blocks being a unit of a data erase operation, each of the plurality of blocks including a plurality of pages, and
the first size is equal to an integer multiple of a size of each of the plurality of pages.

### Claim 20 (depends on 11)

The method according to claim 11, further comprising:
receiving, from the host, a third write command instructing to write sixth data of a fourth size from a fifth location of the first buffer of the host to the nonvolatile memory, the fourth size being larger than the first size; and
in response to receiving the third write command,
transferring seventh data of the first size from the fifth location of the first buffer of the host to the nonvolatile memory, the seventh data including at least part of the sixth data; and
instructing the nonvolatile memory to write the seventh data.
