US 12,436,697 B2
Storage device and method of operating the same
Hee Seok Eun, Suwon-si (KR); and Soo-Young Ji, Suwon-si (KR)
Assigned to SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Dec. 14, 2022, as Appl. No. 18/066,248.
Claims priority of application No. 10-2022-0073258 (KR), filed on Jun. 16, 2022.
Prior Publication US 2023/0409219 A1, Dec. 21, 2023
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/064 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0631 (2013.01); G06F 3/0679 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A storage device, comprising:
a non-volatile memory including a plurality of namespaces including a plurality of logical blocks, wherein the plurality of namespaces are allocated to a plurality of tenants; and
a storage controller configured to, for each of the plurality of namespaces, check a capacity that is a number of allocable logical blocks, among the plurality of logical blocks, and a size that is a sum of a number of currently allocated logical blocks, among the plurality of logical blocks, and a number of allocable logical blocks, detect a first namespace allocated to a first tenant of the plurality of tenants, among the plurality of namespaces, by using the capacity and the size, and provide at least a portion of the allocable logical blocks of a second namespace allocated to a second tenant of the plurality of tenants, among the plurality of namespaces, to the first namespace.