IP Library Granted Patent US 11,966,610
Granted Patent B2
US 11,966,610 · App. 17/730,648 · Granted Apr 23, 2024

Storage device capable of adjusting size of zoned namespace and operating method thereof

Inventors: Gi Gyun Yoo (Gyeonggi-do, KR); Young Ho Ahn (Gyeonggi-do, KR)
Assignee: SK hynix Inc.
G06F3/0644G06F3/0604G06F3/064G06F3/0679
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,966,610
App. No.
17/730,648
Granted
Apr 23, 2024
Kind
B2
Abstract

A storage device may include a storage comprising a plurality of dies each having a plurality of memory blocks, and configured to provide a default ZNS (Zoned NameSpace) size to a host device; and a controller configured to generate a ZNS by selecting one or more memory blocks corresponding to a required ZNS size from the plurality of dies to allocate the selected memory blocks to the ZNS in response to a ZNS generation request signal which includes the required ZNS size and is provided from the host device.

Claims (48)

1. A storage device comprising:

a storage comprising a plurality of dies each having a plurality of memory blocks, and configured to provide a default ZNS (Zoned NameSpace) size to a host device; and

a controller configured to generate a ZNS by selecting one or more memory blocks corresponding to a required ZNS size from the plurality of dies to allocate the selected memory blocks to the ZNS in response to a ZNS generation request signal which includes the required ZNS size and is provided from the host device,

wherein the controller is further configured to allocate, when the host device transmits a write request including write data, a size of which is larger than a remaining capacity of the ZNS, another memory block to the ZNS based on of the size of the remaining capacity and the size of the write data corresponding to the write request to process the write request with the ZNS.

2. The storage device according to claim 1 , wherein the controller is further configured to manage information on the memory blocks allocated to the ZNS as a block list for each ZNS.

3. The storage device according to claim 1 , wherein the controller is further configured to manage, as a bitmap table, information on whether the plurality of memory blocks are each allocable to the ZNS.

4. The storage device according to claim 1 , wherein the controller is further configured to:

select, in response to a block replace command for at least one source memory block allocated to the ZNS, at least one target memory block which does not belong to the ZNS,

allocate the selected target memory block to the ZNS, and

migrate valid data of the source memory block to the target memory block.

5. The storage device according to claim 4 , wherein the controller selects the target memory block within a die including the source memory block.

6. The storage device according to claim 1 , wherein the default ZNS size corresponds to a minimum erase unit of the storage.

7. The storage device according to claim 1 , wherein the required ZNS size is a number of memory blocks to be allocated to the ZNS.

8. A storage device comprising:

a storage comprising a plurality of memory blocks; and

a controller configured to:

gather a plurality of memory blocks to generate a Zoned NameSpace (ZNS) having a size requested by a host device, and

adjust the size of the generated ZNS on the basis of based on a size of write data provided by the host device

wherein the controller is further configured to additionally allocate, when the host device transmits a write request including the write data, a size of which is larger than a remaining capacity of the ZNS, another memory block to the ZNS based on the size of the remaining capacity and the size of the write data corresponding to the write request to process the write request with the ZNS.

9. The storage device according to claim 8 , wherein the controller is further configured to manage information on the memory blocks constituting the ZNS as a block list for each ZNS.

10. The storage device according to claim 8 , wherein the controller is further configured to manage, as a bitmap table, information on whether the plurality of memory blocks are each allocable to the ZNS.

11. The storage device according to claim 8 , wherein the controller is further configured to:

select valid data stored in the ZNS on a memory block basis,

migrate the selected data to a target memory block which does not belong to the ZNS, and

allocate the target memory block to the ZNS.

12. An operating method of a storage device, comprising:

transmitting, by a controller, a default Zoned NameSpace (ZNS) size to a host device, the controller serving to control a storage including a plurality of dies each having a plurality of memory blocks;

receiving, by the controller, a ZNS generation request signal including a required ZNS size from the host device;

generating, by the controller, a ZNS by selecting one or more memory blocks corresponding to the required ZNS size from the plurality of dies and allocating the selected memory blocks to the ZNS:,

receiving, by the controller, a write request including write data, a size of which is larger than a remaining capacity of the ZNS, from the host device;

additionally allocating, by the controller, another memory block to the ZNS based on the size of the remaining capacity and the size of the write data corresponding to the write request; and

processing, by the controller, the write request with the ZNS.

13. The operating method according to claim 12 , further comprising managing, by the controller, information on the memory blocks allocated to the ZNS as a block list for each ZNS.

14. The operating method according to claim 12 , further comprising managing, by the controller, information on whether the plurality of memory blocks are each allocable to the ZNS, as a bitmap table.

15. The operating method according to claim 12 , further comprising:

selecting, by the controller, at least one target memory block which does not belong to the ZNS in response to a block replace command for at least one source memory block allocated to the ZNS;

allocating the selected target memory block to the ZNS; and

migrating valid data of the source memory block to the target memory block.

16. The operating method according to claim 15 , wherein the target memory block is selected within a die including the source memory block.

17. The operating method according to claim 12 , wherein the default ZNS size corresponds to a minimum erase unit of the storage.

18. The operating method according to claim 12 , wherein the required ZNS size is a number of memory blocks to be allocated to the ZNS.

19. An operating method of a controller, the operating method comprising:

allocating one or more empty storage mediums to a zoned namespace (ZNS), which is configured in units of storage mediums; and

controlling a memory device to perform an operation on the ZNS, wherein:

the empty storage mediums are allocated according to one of a die interleaving scheme and a channel interleaving scheme

the operation includes an erase operation to be performed in the units of storage mediums, and

wherein the allocating includes additionally allocating another at least one empty storage medium to the ZNS based on the size of a remaining capacity and a size of write data corresponding to a write request to process the write request with the ZNS, when a host device transmits the write request including the write data, the size of which is larger than the remaining capacity of the ZNS.

20. The operating method of claim 19 , wherein the allocating includes replacing a storage medium, which is previously allocated to the ZNS, with the empty storage medium.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 27, 2022
From: YOO, GI GYUN; AHN, YOUNG HO
To: SK HYNIX INC.
Reel/Frame 059755/0845 →
Priority Claims (1)
KR 10-2021-0150388 · Nov 4, 2021 · national
Continuity (1)
Related Publication 20230134639A1 · May 4, 2023
Cited By (1)
US 12,236,094