Memory system and method of controlling nonvolatile memory
AssigneeKioxia Corporation
InventorShinichi Kanno
Life of this patent
Estimating the term…
Abstract
According to one embodiment, a controller of a memory system executes a first write operation of writing write data into a first storage region, in response to reception of one or more write requests for specifying a first zone from a host, during a period from execution of an erase operation of the first storage region until a first time elapses. When the first time has elapsed after execution of the erase operation, in a state in which an unwritten region having a size larger than or equal to a first size remains in the first storage region, the controller does not execute the first write operation, allocates the first storage region as a nonvolatile buffer capable of temporarily storing write data to be written to each of a plurality of zones.
Claims12
A memory system connectable to a host, comprising:
- a nonvolatile memory;
- and
- a controller electrically connected to the nonvolatile memory and configured to allocate one storage region of a plurality of storage regions included in the nonvolatile memory to each of a plurality of zones to which a plurality of logical address ranges obtained by dividing a logical address space for accessing the memory system are allocated, respectively, wherein
- the controller is configured to:
- execute an erase operation for a first storage region allocated to a first zone of the plurality of zones;
- during a period from the execution of the erase operation for the first storage region until a first time elapses, in response to receiving one or more write requests for specifying the first zone from the host, execute a first write operation including an operation of transferring write data associated with a set of the one or more write requests from a write buffer of the host to an internal buffer of the memory system, and an operation of writing the write data transferred to the internal buffer into the first storage region;
- when the first time has elapsed after the execution of the erase operation, in a state in which an unwritten region having a size larger than or equal to a first size remains in the first storage region, not execute the first write operation, allocate the first storage region as a nonvolatile buffer capable of temporarily storing write data to be written to each of the plurality of zones;
- and
- in response to receiving from the host a first request for causing a state of the first zone or another zone to transition to a state in which writing is suspended, acquire remaining write data of write data associated with one or more received write requests for specifying the first zone or the other zone, from the write buffer of the host, the remaining write data being write data un-transferred to the internal buffer, and write the acquired remaining write data into the unwritten region of the first storage region allocated as the nonvolatile buffer.
A control method of controlling a memory system including a nonvolatile memory, the method comprising:
- allocating one storage region of a plurality of storage regions included in the nonvolatile memory to each of zones to which a plurality of logical address ranges obtained by dividing a logical address space for accessing the memory system are allocated, respectively;
- executing an erase operation of a first storage region allocated to a first zone of the plurality of zones;
- during a period from the execution of the erase operation of the first storage region until a first time elapses, in response to receiving one or more write requests for specifying the first zone from a host, executing a first write operation including an operation of transferring write data associated with the set of one or more write requests from a write buffer of the host to an internal buffer of the memory system, and an operation of writing the write data transferred to the internal buffer into the first storage region;
- when the first time has elapsed after the execution of the erase operation, in a state in which an unwritten region having a size larger than or equal to a first size remains in the first storage region, not executing the first write operation, allocating the first storage region as a nonvolatile buffer capable of temporarily storing write data to be written to each of the plurality of zones;
- and
- in response to receiving from the host a first request for causing a state of the first zone or another zone to transition to a state in which writing is suspended, acquiring remaining write data of write data associated with one or more received write requests for specifying the first zone or the other zone, from the write buffer of the host, the remaining write data being write data un-transferred to the internal buffer, and writing the acquired remaining write data into the unwritten region of the first storage region allocated as the nonvolatile buffer.
Dependencies are inferred from the claim text.