Memory system and method of controlling nonvolatile memory
AssigneeKioxia Corporation
InventorTakashi ISHIGURO
Life of this patent
Estimating the term…
Abstract
According to one embodiment, a controller receives from a host a first command for writing data sequentially to a first zone. When buffers include a first buffer to which the first zone is allocated, the controller stores the first data in the first buffer. When the buffers do not include the first buffer but include a free buffer, the controller allocates the first zone to a second buffer that is the free buffer and stores the first data in the second buffer. When the buffers include neither the first buffer nor a free buffer, the controller additionally allocates the first zone to a third buffer of which last update for storing data is the oldest among the buffers, and stores the first data in the third buffer to which the first zone is additionally allocated.
Claims20
A memory system comprising:
- a nonvolatile memory;
- and
- a controller electrically connected to the nonvolatile memory and configured to control the nonvolatile memory using a zoned namespace defined by a standard of NVM express, the zoned namespace being divided into a plurality of zones, wherein
- the controller is configured to:
- manage a plurality of buffers, the number of the plurality of buffers being smaller than the number of the plurality of zones;
- and
- in response to receiving from a host a first command for writing data sequentially to a first zone among the plurality of zones, the first command being associated with first data,
- when the plurality of buffers include a first buffer to which the first zone is allocated, store the first data in the first buffer;
- when the plurality of buffers do not include the first buffer but include a free buffer to which no zone is allocated, allocate the first zone to a second buffer that is the free buffer and store the first data in the second buffer to which the first zone is allocated;
- and
- when the plurality of buffers include neither the first buffer nor a free buffer to which no zone is allocated, additionally allocate the first zone to a third buffer of which last update for storing data is the oldest among the plurality of buffers, and store the first data in the third buffer to which the first zone is additionally allocated.
A method of controlling a nonvolatile memory using a zoned namespace defined by a standard of NVM express, the zoned namespace being divided into a plurality of zones, the method comprising:
- managing a plurality of buffers, the number of the plurality of buffers being smaller than the number of the plurality of zones;
- receiving from a host a first command for writing data sequentially to a first zone among the plurality of zones, the first command being associated with first data;
- when the plurality of buffers include a first buffer to which the first zone is allocated, storing the first data in the first buffer;
- when the plurality of buffers do not include the first buffer but include a free buffer to which no zone is allocated, allocating the first zone to a second buffer that is the free buffer and storing the first data in the second buffer to which the first zone is allocated;
- and
- when the plurality of buffers include neither the first buffer nor a free buffer to which no zone is allocated, additionally allocating the first zone to a third buffer of which last update for storing data is the oldest among the plurality of buffers, and storing the first data in the third buffer to which the first zone is additionally allocated.
Dependencies are inferred from the claim text.