IP Library Granted Patent US 11,586,377
Granted Patent B2
US 11,586,377 · App. 17/185,493 · Granted Feb 21, 2023

Memory system and control method

Inventor: Koichi Nagai (Ota Tokyo, JP)
Assignee: Kioxia Corporation
G06F3/0652G06F3/062G06F3/0679G06F12/10G06F21/60G06F2212/1052G06F2221/2143
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,586,377
App. No.
17/185,493
Granted
Feb 21, 2023
Kind
B2
Abstract

According to one embodiment, a memory system includes a non-volatile memory with a plurality of blocks. The minimum unit of a data erasing operation in the memory system is a block. A controller is electrically connected to the non-volatile memory and configured to execute, in response to a first command from a host requesting a secure erase of secure erase target data stored in a first logical area identified by a first logical area identifier, a copy operation copying valid data other than any secure erase target data from one or more first blocks of the plurality in which the secure erase target data is stored to one or more copy destination blocks of the plurality. The controller executes the data erasing operation on the one or more first blocks after the copy operation.

Claims (47)

1. A memory system, comprising:

a non-volatile memory including a plurality of blocks, each block being a minimum unit of a data erasing operation; and

a controller electrically connected to the non-volatile memory and configured to:

execute, in response to a first command from a host requesting a secure erase of secure erase target data stored in a first logical area identified by a first logical area identifier, a copy operation copying valid data other than any secure erase target data from one or more first blocks of the plurality of blocks in which the secure erase target data is stored to one or more copy destination blocks of the plurality of blocks,

execute the data erasing operation on the one or more first blocks after the copy operation,

select a second block from the first blocks that has been designated a free block storing only invalid data as one of the copy destination blocks,

execute the data erasing operation on the second block, and

execute a copy operation copying the valid data other than any valid data in the secure erase target data from a third block among the first blocks to the second block.

2. The memory system according to claim 1 , wherein the secure erase target data includes valid data.

3. The memory system according to claim 1 , wherein the secure erase target data includes only invalid data.

4. The memory system according to claim 1 , wherein the controller is further configured to execute, in response to the first command, an unmap operation invalidating the secure erase target data.

5. The memory system according to claim 4 , wherein the controller is configured to execute the unmap operation before the copy operation.

6. The memory system according to claim 4 , wherein

the controller is configured to execute the unmap operation during execution of the copy operation, and

the controller is configured to invalidate the valid data among the secure erase target data stored in the one or more first blocks.

7. The memory system according to claim 1 , wherein the controller is further configured to execute, in response to the first command, the data erasing operation on a free block from among free blocks in the plurality of blocks storing no valid data before a start of the copy operation and not used as one of the copy destination blocks when the free block was storing invalid data included among the secure erase target data when the first command was received.

8. The memory system according to claim 1 , wherein

the controller is configured to manage a plurality of namespaces identified respectively by a plurality of namespace identifiers, and

the first logical area identifier is a namespace identifier that identifies a secure erase target namespace.

9. The memory system according to claim 1 , wherein the first logical area identifier includes one or more logical addresses that identify one or more secure erase target sectors.

10. The memory system according to claim 1 , wherein the first logical area identifier includes one or more keys that identify one or more secure erase target values.

11. The memory system according to claim 1 , wherein

the first logical area identifier includes one or more logical addresses that identify one or more secure erase target sectors, and

the controller is further configured to:

manage a mapping between each logical address and each physical address of the non-volatile memory in a cluster unit using a logical physical address translation table,

change data of the secure erase target sectors stored in a first cluster to a first data pattern, the first cluster storing valid data, and the secure erase target sectors being in the first cluster, and

execute a copy operation copying the first cluster to the one or more copy destination blocks.

12. The memory system according to claim 1 , wherein the secure erase target data includes invalid data previously associated with the first logical area identifier.

13. The memory system according to claim 1 , wherein the first command designates the first logical area identifier.

14. The memory system according to claim 1 , wherein the first logical area identifier is designated by a command from the host other than the first command.

15. A memory system, comprising:

a non-volatile memory including a plurality of blocks, each block being a minimum unit of a data erasing operation; and

a controller electrically connected to the non-volatile memory and configured to:

execute, in response to a first write command from a host requesting a write of data to a first logical area identified by a first logical area identifier and a secure erase of old data stored in the first logical area, a copy operation copying valid data from one or more first blocks of the plurality of blocks in which the old data is stored to one or more copy destination blocks of the plurality of blocks,

execute the data erasing operation on the one or more first blocks after the copy operation,

select a second block from the first blocks that has been designated a free block storing only invalid data as one of the copy destination blocks,

execute the data erasing operation on the second block, and

execute a copy operation copying the valid data other than any valid data in the secure erase target data from a third block among the first blocks to the second block.

16. The memory system according to claim 15 , wherein the data erasing operation on the one or more first blocks is directly after the completion of the copy operation.

17. The memory system according to claim 15 , wherein the data erasing operation on the one or more first blocks is performed after the completion of the copy operation in response to a second command from the host requesting a secure erase of secure erase target data.

18. A control method for controlling a non-volatile memory including a plurality of blocks, each block being a minimum unit of a data erasing operation, the control method comprising:

executing, in response to a first command from a host requesting a secure erase of secure erase target data stored in a first logical area identified by a first logical area identifier, a copy operation copying valid data other than any secure erase target data from one or more first blocks of the plurality of blocks in which the secure erase target data is stored to one or more copy destination blocks of the plurality of blocks;

executing the data erasing operation on the one or more first blocks after the copy operation;

selecting a second block from the first blocks that has been designated a free block storing only invalid data as one of the copy destination blocks,

executing the data erasing operation on the second block, and

executing a copy operation copying the valid data other than any valid data in the secure erase target data from a third block among the first blocks to the second block.

19. The control method according to claim 18 , wherein the secure erase target data includes invalid data previously associated with the first logical area identifier.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 16, 2021
From: NAGAI, KOICHI
To: KIOXIA CORPORATION
Reel/Frame 055947/0146 →
Priority Claims (1)
JP JP2020-110307 · Jun 26, 2020 · national
Continuity (1)
Related Publication 20210405907A1 · Dec 30, 2021
Cited By (2)
US 12,321,629 US 12,645,367