Memory system and method of controlling the memory system
AssigneeKioxia Corporation
InventorShinichi KANNO
Life of this patent
Estimating the term…
Abstract
According to one embodiment, a memory system includes a controller. The controller manages a plurality of flags corresponding to a plurality of physical addresses. In response to receiving a read command from a host, the controller acquires from a first management table a physical address mapped to a logical address specified by the read command, and reads data from a nonvolatile memory based on the acquired physical address. The controller determines whether or not to transmit the read data to the host based on whether a current status of the flag corresponding to the acquired physical address is set to a first value indicating valid data or to a second value indicating invalid data.
Claims21
1-20. (canceled)
A memory system connectable to a host, comprising:
- a nonvolatile memory including a plurality of storage locations respectively designated by a plurality of physical addresses, the plurality of storage locations including at least a first storage location designated by a first physical address;
- and
- a controller electrically connected to the nonvolatile memory and configured to:
- manage mapping information using a first management table, the mapping information indicating a mapping between each of a plurality of logical addresses used by the host to access the memory system and each of the plurality of physical addresses, the plurality of logical addresses including at least a first logical address;
- manage a plurality of flags using a second management table, the plurality of flags being respectively associated with the plurality of physical addresses, the plurality of flags including at least a first flag associated with the first physical address, each of the plurality of flags being configured to include either (A) a first value indicating that data stored in one of the plurality of storage locations designated by one of the plurality of physical addresses associated therewith is valid, or (B) a second value indicating that data stored in one of the plurality of storage locations designated by one of the plurality of physical addresses associated therewith is invalid;
- in response to receiving a write command specifying the first logical address from the host:
- map, in the first management table, the first physical address to the first logical address,
- write first data associated with the write command to the first storage location, and
- set, in the second management table, the first flag to have the first value;
- and
- in response to receiving a read command specifying the first logical address from the host:
- acquire, from the first management table, one of the plurality of physical addresses that is being mapped to the first logical address,
- read data from the nonvolatile memory based on the acquired physical address,
- acquire, from the second management table, one of the plurality of flags associated with the acquired physical address, and
- determine whether or not to transmit the read data to the host, based on whether the acquired flag has the first value or the second value.
A memory system connectable to a host, comprising:
- a nonvolatile memory including a plurality of storage locations respectively designated by a plurality of physical addresses, the plurality of storage locations including at least a first storage location designated by a first physical address;
- and
- a controller electrically connected to the nonvolatile memory configured to:
- manage mapping information using a first management table, the mapping information indicating a mapping between each of a plurality of logical addresses used by the host to access the memory system and each of the plurality of physical addresses, the plurality of logical addresses including at least a first logical address;
- in response to receiving a write command specifying the first logical address from the host:
- map, in the first management table, the first physical address to the first logical address,
- generate a first check code at least based on at least a part of the first physical address, and
- write first data associated with the write command and the first check code to the first storage location;
- and
- in response to receiving a read command specifying the first logical address from the host:
- acquire, from the first management table, one of the plurality of physical addresses that is being mapped to the first logical address,
- generate a second check code at least based on at least a part of the acquired physical address,
- read data and a third check code from the nonvolatile memory, based on the acquired physical address, and
- determine whether or not to transmit the read data to the host, based on whether the second check code matches the third check code.
Dependencies are inferred from the claim text.